Audio Gadget

modulename: g_audio.ko

configname: CONFIG_USB_AUDIO

USB Gadget Drivers
└─>Advanced Linux Sound Architecture
└─>Audio Gadget
In linux kernel since version 2.6.31 (release Date: 2009-09-09)  
This Gadget Audio driver is compatible with USB Audio Class
specification 2.0. It implements 1 AudioControl interface,
1 AudioStreaming Interface each for USB-OUT and USB-IN.
Number of channels, sample rate and sample size can be
specified as module parameters.
This driver doesn't expect any real Audio codec to be present
on the device - the audio streams are simply sinked to and
sourced from a virtual ALSA sound card created. The user-space
application may choose to do whatever it wants with the data
received from the USB Host and choose to provide whatever it
wants as audio data to the USB Host.

Say "y" to link the driver statically, or "m" to build a
dynamically linked module called "g_audio".

source code: