]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Fix interface type of mixer controls
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Nov 2004 15:10:34 +0000 (15:10 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 29 Nov 2004 15:10:34 +0000 (15:10 +0000)
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.

rmedigicontrol/loopback.c

index a0ed641342e2759fa5b9745281d38f14ab5be52c..b47eb20b42c49d97ac416b2a4f166b38c8e0dfaf 100644 (file)
@@ -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);