[alsa-devel] Some idea about usb audio gadget driver.

Clemens Ladisch clemens at ladisch.de
Wed Sep 24 09:15:00 CEST 2008


Bryan Wu wrote:
>  - A new usb gadget driver which recognized by Linux/Windows PC as an
> USB audio card.
>  - There is an ALSA sound card on the same embedded device.
>  - The usb gadget driver receives audio data from host and send them
> to ALSA sound card to playback
> ...
>  - Is there any similar things on this planet?
>  - How about gmidi usb midi gadget driver?

gmidi does not access other sound cards; it makes the USB MIDI interface
available to userspace.

>  - How can I open/playback/record/close a ALSA sound card in kernel
> space not using alsalib in user space?

If you really want to do this in the kernel, have a look at the OSS
emulation (sound/core/oss/).


Regards,
Clemens


More information about the Alsa-devel mailing list