aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2005-01-03 11:06:34 +0100
committerJaroslav Kysela <perex@suse.cz>2005-01-03 11:06:34 +0100
commit850f94fefef0ed7ca7999e5e5fd4438e2efc073b (patch)
tree554aa1ca78827de61d74fb1ff28484678abfd6fb /sound
parent00c0c0919c4d11d07e10842f53bdbd3802fcec41 (diff)
downloadhistory-850f94fefef0ed7ca7999e5e5fd4438e2efc073b.tar.gz
[ALSA] Fix interface type for some mixer controls
RME96 driver The interface type of some basic mixer controls is changed from IFACE_PCM to IFACE_MIXER so that it can be accessed from mixer apps. Signed-off-by: Peter Chrisensen <peter@developers.dk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/rme96.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/pci/rme96.c b/sound/pci/rme96.c
index 8ab9ba8cb77eff..8e2666841d2115 100644
--- a/sound/pci/rme96.c
+++ b/sound/pci/rme96.c
@@ -2285,35 +2285,35 @@ static snd_kcontrol_new_t snd_rme96_controls[] = {
IEC958_AES0_PRO_EMPHASIS
},
{
- .iface = SNDRV_CTL_ELEM_IFACE_PCM,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Input Connector",
.info = snd_rme96_info_inputtype_control,
.get = snd_rme96_get_inputtype_control,
.put = snd_rme96_put_inputtype_control
},
{
- .iface = SNDRV_CTL_ELEM_IFACE_PCM,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Loopback Input",
.info = snd_rme96_info_loopback_control,
.get = snd_rme96_get_loopback_control,
.put = snd_rme96_put_loopback_control
},
{
- .iface = SNDRV_CTL_ELEM_IFACE_PCM,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Sample Clock Source",
.info = snd_rme96_info_clockmode_control,
.get = snd_rme96_get_clockmode_control,
.put = snd_rme96_put_clockmode_control
},
{
- .iface = SNDRV_CTL_ELEM_IFACE_PCM,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Monitor Tracks",
.info = snd_rme96_info_montracks_control,
.get = snd_rme96_get_montracks_control,
.put = snd_rme96_put_montracks_control
},
{
- .iface = SNDRV_CTL_ELEM_IFACE_PCM,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Attenuation",
.info = snd_rme96_info_attenuation_control,
.get = snd_rme96_get_attenuation_control,