Gen 1: Mute switches are backwards
This commit is contained in:
@@ -85,6 +85,10 @@ GtkWidget *make_boolean_alsa_elem(
|
|||||||
data->elem = elem;
|
data->elem = elem;
|
||||||
data->button = gtk_toggle_button_new();
|
data->button = gtk_toggle_button_new();
|
||||||
|
|
||||||
|
if (strncmp(elem->name, "Master", 6) == 0 &&
|
||||||
|
strstr(elem->name, "Playback Switch"))
|
||||||
|
data->backwards = 1;
|
||||||
|
|
||||||
g_signal_connect(
|
g_signal_connect(
|
||||||
data->button, "clicked", G_CALLBACK(button_clicked), data
|
data->button, "clicked", G_CALLBACK(button_clicked), data
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user