Commit 004e76c8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

WaveOut: kill config_Get

parent b6fb07c7
...@@ -462,7 +462,7 @@ static void Probe( aout_instance_t * p_aout ) ...@@ -462,7 +462,7 @@ static void Probe( aout_instance_t * p_aout )
text.psz_string = (char *)_("A/52 over S/PDIF"); text.psz_string = (char *)_("A/52 over S/PDIF");
var_Change( p_aout, "audio-device", var_Change( p_aout, "audio-device",
VLC_VAR_ADDCHOICE, &val, &text ); VLC_VAR_ADDCHOICE, &val, &text );
if( config_GetInt( p_aout, "spdif" ) ) if( var_InheritInteger( p_aout, "spdif" ) )
var_Set( p_aout, "audio-device", val ); var_Set( p_aout, "audio-device", val );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment