if((card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTADIO2496) || (card_eeprom.subvendor == ICE1712_SUBDEVICE_DMX6FIRE))
hide = 0;
- frame = gtk_frame_new("S/PDIF Input");
+ frame = gtk_frame_new("Digital Input");
gtk_widget_show(frame);
gtk_box_pack_start(GTK_BOX(box), frame, FALSE, TRUE, 0);
gtk_container_set_border_width(GTK_CONTAINER(frame), 6);
if( card_eeprom.subvendor == ICE1712_SUBDEVICE_DMX6FIRE)
hide = 0;
- frame = gtk_frame_new("S/PDIF On/Off");
+ frame = gtk_frame_new("Digital Select");
gtk_widget_show(frame);
gtk_box_pack_start(GTK_BOX(box), frame, FALSE, TRUE, 0);
gtk_container_set_border_width(GTK_CONTAINER(frame), 6);
gtk_container_add(GTK_CONTAINER(frame), vbox);
gtk_container_set_border_width(GTK_CONTAINER(vbox), 6);
- radiobutton = gtk_radio_button_new_with_label(group, "On");
+ radiobutton = gtk_radio_button_new_with_label(group, "Front Digital");
hw_spdif_switch_on_radio = radiobutton;
group = gtk_radio_button_group(GTK_RADIO_BUTTON(radiobutton));
gtk_widget_show(radiobutton);
(GtkSignalFunc)spdif_on_off_toggled,
(gpointer)"On");
- radiobutton = gtk_radio_button_new_with_label(group, "Off");
+ radiobutton = gtk_radio_button_new_with_label(group, "Internal CD");
hw_spdif_switch_off_radio = radiobutton;
group = gtk_radio_button_group(GTK_RADIO_BUTTON(radiobutton));
gtk_widget_show(radiobutton);
if (!is_active(togglebutton))
return;
if (!strcmp(str, "On"))
- snd_ctl_elem_value_set_boolean(spdif_input, 0, 1);
+ snd_ctl_elem_value_set_boolean(spdif_on_off, 0, 1);
else
- snd_ctl_elem_value_set_boolean(spdif_input, 0, 0);
- if ((err = snd_ctl_elem_write(ctl, spdif_input)) < 0)
+ snd_ctl_elem_value_set_boolean(spdif_on_off, 0, 0);
+ if ((err = snd_ctl_elem_write(ctl, spdif_on_off)) < 0)
g_print("Unable to write S/PDIF on/off switch: %s\n", snd_strerror(err));
}