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

aout: do not unset stereo-mode when changing device

parent e38ea904
...@@ -175,12 +175,6 @@ int aout_ChannelsRestart (vlc_object_t *obj, const char *varname, ...@@ -175,12 +175,6 @@ int aout_ChannelsRestart (vlc_object_t *obj, const char *varname,
audio_output_t *aout = (audio_output_t *)obj; audio_output_t *aout = (audio_output_t *)obj;
(void)oldval; (void)newval; (void)data; (void)oldval; (void)newval; (void)data;
if (!strcmp (varname, "audio-device"))
{
/* This is supposed to be a significant change and supposes
* rebuilding the channel choices. */
var_Destroy (aout, "stereo-mode");
}
aout_RequestRestart (aout, AOUT_RESTART_OUTPUT); aout_RequestRestart (aout, AOUT_RESTART_OUTPUT);
return 0; return 0;
} }
......
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