mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-26 01:40:13 -05:00
envy24control: fix control callback for spdif output
Update S/PDIF Output Settings GUI when settings change. Closes: https://github.com/alsa-project/alsa-tools/pull/30 Signed-off-by: Andreas Persson <andreasp56@outlook.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
4522439faf
commit
dcf1b94682
1 changed files with 4 additions and 0 deletions
|
|
@ -81,6 +81,10 @@ void control_input_callback(gpointer data, gint source, GdkInputCondition condit
|
||||||
else if (!strcmp(name, "Input Sensitivity Switch"))
|
else if (!strcmp(name, "Input Sensitivity Switch"))
|
||||||
adc_sense_update(index);
|
adc_sense_update(index);
|
||||||
break;
|
break;
|
||||||
|
case SND_CTL_ELEM_IFACE_PCM:
|
||||||
|
if (!strcmp(name, "IEC958 Playback Default"))
|
||||||
|
spdif_output_update();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue