• Ruslan Bilovol's avatar
    ALSA: usb: add UAC3 BADD profiles support · 17156f23
    Ruslan Bilovol authored
    Recently released USB Audio Class 3.0 specification
    contains BADD (Basic Audio Device Definition) document
    which describes pre-defined UAC3 configurations.
    
    BADD support is mandatory for UAC3 devices, it should be
    implemented as a separate USB device configuration.
    As per BADD document, class-specific descriptors
    shall not be included in the Device’s Configuration
    descriptor ("inferred"), but host can guess them
    from BADD profile number, number of endpoints and
    their max packed sizes.
    
    This patch adds support of all BADD profiles from the spec
    Signed-off-by: default avatarRuslan Bilovol <ruslan.bilovol@gmail.com>
    Tested-by: default avatarJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    17156f23
card.c 24.2 KB