[wdmaudiodev] Re: who can give me a packet of source code for usbaudio device ?

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 07 Apr 2004 09:45:47 -0700

jerry_wang wrote:

> hi,
> i need write a driver for usb headset.
> but i don't know how to provide HW_STREAM_INFORMATION ( for example
> Topology,Property..)
> in my minidriver.
> may you help me ?


Most USB headsets are designed to comply with the USB Audio Class
specification. When that is true, they need no driver at all. The
standard USBAUDIO driver will handle everything for you.

Even if the device is not completely USB Audio Class compliant, as long
as there are iso streams available, sometimes the easiest approach is to
write a small lower filter to USBAUDIO to supply the Audio Class
interface descriptors.

Only a poorly designed USB headset would require a full kernel streaming
driver.

-- 
- Tim Roberts, timr@xxxxxxxxx
  Providenza & Boekelheide, Inc.

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts:

  • » [wdmaudiodev] Re: who can give me a packet of source code for usbaudio device ?