Re: [Alsa-user] arecord: set_params:1239: Channels count non available
Brought to you by:
perex
|
From: Roger <rog...@gm...> - 2014-03-17 15:16:09
|
The following source code file seems to be related for ASUS Xonar STX cards,
supposedly defining Line & Mic inputs, and their capabilities.
/usr/src/linux/sound/pci/oxygen/xonar_pcm179x.c
A little more grepping/searching, I find xonar_wm87x6.c seems to specify the
mic/line channel profiles, which is then linked into virtuoso.c; Of which is
likely not used by the STX card?
/usr/src/linux/sound/pci/oxygen/xonar_wm87x6.c
{
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Line Capture Switch",
.info = snd_ctl_boolean_mono_info,
.get = wm8776_input_mux_get,
.put = wm8776_input_mux_put,
.private_value = 1 << 0,
},
{
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Mic Capture Switch",
.info = snd_ctl_boolean_mono_info,
.get = wm8776_input_mux_get,
.put = wm8776_input_mux_put,
.private_value = 1 << 1,
},
WM8776_BIT_SWITCH("Front Mic Capture Switch",
WM8776_ADCMUX, 1 << 2, 0, 0),
WM8776_BIT_SWITCH("Aux Capture Switch",
WM8776_ADCMUX, 1 << 3, 0, 0),
--
Roger
http://rogerx.freeshell.org/
|