From: Takashi Iwai Date: Mon, 29 Nov 2004 15:10:34 +0000 (+0000) Subject: Fix interface type of mixer controls X-Git-Tag: v1.0.8~13 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=7ffb1865919267a3c49bc4c05423a3c2c380dd54;p=alsa-tools.git Fix interface type of mixer controls ALSA BTS #681 https://bugtrack.alsa-project.org/alsa-bug/view.php?id=681 The interface type of mixer controls is changed from IFACE_PCM to IFACE_MIXER according to the recent change of rme32/96 drivers. --- diff --git a/rmedigicontrol/loopback.c b/rmedigicontrol/loopback.c index a0ed641..b47eb20 100644 --- a/rmedigicontrol/loopback.c +++ b/rmedigicontrol/loopback.c @@ -33,7 +33,7 @@ GtkWidget *create_loopback_toggle() snd_ctl_elem_value_malloc(&val); - snd_ctl_elem_value_set_interface(val, SND_CTL_ELEM_IFACE_PCM); + snd_ctl_elem_value_set_interface(val, SND_CTL_ELEM_IFACE_MIXER); snd_ctl_elem_value_set_name(val,elem_name); snd_ctl_elem_read(ctl, val);