Commit 932239a5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

aout: remove left-over audio-device callback (fixes #5273)

parent 5a96724b
...@@ -467,8 +467,6 @@ static void Probe( audio_output_t * p_aout, const audio_sample_format_t *fmt ) ...@@ -467,8 +467,6 @@ static void Probe( audio_output_t * p_aout, const audio_sample_format_t *fmt )
var_Destroy( p_aout, "audio-device" ); var_Destroy( p_aout, "audio-device" );
return; return;
} }
var_AddCallback( p_aout, "audio-device", aout_ChannelsRestart, NULL );
} }
/***************************************************************************** /*****************************************************************************
......
...@@ -251,7 +251,6 @@ static int Start ( audio_output_t *p_aout, audio_sample_format_t *fmt ) ...@@ -251,7 +251,6 @@ static int Start ( audio_output_t *p_aout, audio_sample_format_t *fmt )
val.i_int = AOUT_VAR_MONO; val.i_int = AOUT_VAR_MONO;
} }
var_Change( p_aout, "audio-device", VLC_VAR_SETDEFAULT, &val, NULL ); var_Change( p_aout, "audio-device", VLC_VAR_SETDEFAULT, &val, NULL );
var_AddCallback( p_aout, "audio-device", aout_ChannelsRestart, NULL );
} }
/* Prevent SIG_FPE */ /* Prevent SIG_FPE */
......
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