Re: Questions on usb audio development

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Sun, 20 May 2007 15:25:31 -0400,
Lee Revell wrote:
> 
> On 5/20/07, LCID Fire <lcid-fire@xxxxxxx> wrote:
> > Hi.
> > I know there is quite some documentation how to develop a pci driver for
> > alsa - but since I'll try to get a usb device working I was wondering
> > how to write a usb driver? Is it just the same? How to interface the
> > various aspects of the device with regards to descriptor reading, ...
> 
> Look at the snd-usb-audio and usx2y sources.

Also the new caiaq driver.

The major difference between the normal PCI and USB audio drivers is
that USB audio has no traditional DMA like most PCI devices have.
Thus the driver has to sets up URB pakets.  usb-audio driver creates
an intermediate ring-buffer that is used for the communication from/to
user-space, and URBs are made from this buffer.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux