• J
    usb: gadget: Add Audio Class 2.0 Driver · 132fcb46
    Jassi Brar 提交于
    This is a flexible USB Audio Class 2.0 compliant gadget driver that
    implements a simple topology with a virtual sound card exposed at
    the function side.
    
    The driver doesn't expect any real audio codec to be present on the
    function - 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.
    
    Capture(USB-Out) and Playback(USB-In) can be run at independent
    configurations specified via module parameters while loading the driver.
    
    Make this new version as the default selection by a new Kconfig choice.
    Signed-off-by: NYadi Brar <yadi.brar01@gmail.com>
    Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
    Signed-off-by: NFelipe Balbi <balbi@ti.com>
    132fcb46
audio.c 5.6 KB