]> 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)
commita57cfcd0835289b467ba9d0662ca030c8d97f0a0
treea1683ccd98c28b98bb2989e5aafbe9ff6296ef6b
parent8514c2f9f501b7e7d4fb5e94866093eb7cfc0694
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