]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: UAC3. Add support for mixer unit.
authorJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Fri, 11 May 2018 15:25:34 +0000 (16:25 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2018 05:32:50 +0000 (07:32 +0200)
commite3831510e34263cde95cc47d567fe6e869d24202
tree7f71fb93c0a2a08c289643e3c28c85987c41e5ce
parent9a20ada13e6adc350bb4cb85f273dc6897942eb6
ALSA: usb-audio: UAC3. Add support for mixer unit.

This adds support for the MIXER UNIT in UAC3. All the information
is obtained from the (HIGH CAPABILITY) Cluster's header. We don't
read the rest of the logical cluster to obtain the channel config
as that wont make any difference in the current mixer behaviour.

The name of the mixer unit is not yet requested as there is not
support for the UAC3 Class Specific String requests.

Tested in an UAC3 device working as a HEADSET with a basic mixer
unit (same as the one in the BADD spec) with no controls.

Signed-off-by: Jorge Sanjuan <jorge.sanjuan@codethink.co.uk>
Reviewed-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Tested-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/linux/usb/audio.h
sound/usb/mixer.c