• Jassi Brar's avatar
    usb: gadget: Add Audio Class 2.0 Driver · 132fcb46
    Jassi Brar authored
    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: default avatarYadi Brar <yadi.brar01@gmail.com>
    Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    132fcb46
audio.c 5.56 KB