]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Input source control - digidesign mbox
authorDamien Zammit <damien@zamaudio.com>
Fri, 13 Aug 2021 11:34:02 +0000 (21:34 +1000)
committerTakashi Iwai <tiwai@suse.de>
Sat, 14 Aug 2021 06:37:20 +0000 (08:37 +0200)
commit06f1d32a1156b98615895353222c468782f103e7
treea1683ccd98c28b98bb2989e5aafbe9ff6296ef6b
parent3728156b628355563dab0b90012782c678083e53
ALSA: usb-audio: Input source control - digidesign mbox

This adds a second mixer control to Digidesign Mbox
to select between Analog/SPDIF capture.

Users will note that selecting the SPDIF input source
automatically switches the clock mode to sync to SPDIF,
which is a feature of the hardware.

(You can change the clock source back to internal if you want
to capture from spdif but not sync to its clock although this mode
is probably not recommended).

Unfortunately, starting the stream resets both modes
to Internally clocked and Analog input mode.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
Tested-by: Damien Zammit <damien@zamaudio.com>
Link: https://lore.kernel.org/r/20210813113402.11849-1-damien@zamaudio.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c