mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
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.
This commit is contained in:
parent
1be230856c
commit
4b24bfe5eb
1 changed files with 2 additions and 2 deletions
|
|
@ -156,12 +156,12 @@ GtkWidget *create_enum_elem_radio(char *elem_name,ctl_elem_info_val_t *iv)
|
|||
active=NULL;
|
||||
box=gtk_vbox_new(TRUE,0);
|
||||
|
||||
snd_ctl_elem_info_set_interface(iv->info, SND_CTL_ELEM_IFACE_PCM);
|
||||
snd_ctl_elem_info_set_interface(iv->info, SND_CTL_ELEM_IFACE_MIXER);
|
||||
snd_ctl_elem_info_set_name(iv->info,elem_name);
|
||||
snd_ctl_elem_info_set_numid(iv->info,0);
|
||||
snd_ctl_elem_info(ctl,iv->info);
|
||||
|
||||
snd_ctl_elem_value_set_interface(iv->val, SND_CTL_ELEM_IFACE_PCM);
|
||||
snd_ctl_elem_value_set_interface(iv->val, SND_CTL_ELEM_IFACE_MIXER);
|
||||
snd_ctl_elem_value_set_name(iv->val,elem_name);
|
||||
snd_ctl_elem_read(ctl,iv->val);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue