mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-05 04:06:31 -05:00
Daniel Ankers <dan_a@manx.net>:
- Fixes a minor bug in the previous patch in hardware.c - Adds friendly names to the analog volume controls for DMX 6Fire users - Automatically sets the number of I/O channels for DMX 6Fire users
This commit is contained in:
parent
18a3b80878
commit
e33cfeb2ff
2 changed files with 66 additions and 1 deletions
|
|
@ -714,7 +714,7 @@ void phono_input_toggled(GtkWidget *togglebutton, gpointer data)
|
|||
|
||||
if (!is_active(togglebutton))
|
||||
return;
|
||||
if (!strcmp(str, "On"))
|
||||
if (!strcmp(str, "Phono"))
|
||||
snd_ctl_elem_value_set_boolean(phono_input, 0, 1);
|
||||
else
|
||||
snd_ctl_elem_value_set_boolean(phono_input, 0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue