Commit 3057eb72 authored by Laurent Aimar's avatar Laurent Aimar

Be sure to restart the mixer on replaygain mode change.

parent 0ec9c471
......@@ -879,6 +879,9 @@ static int ReplayGainCallback( vlc_object_t *p_this, char const *psz_cmd,
vlc_mutex_lock( &p_aout->mixer_lock );
for( i = 0; i < p_aout->i_nb_inputs; i++ )
ReplayGainSelect( p_aout, p_aout->pp_inputs[i] );
/* Restart the mixer (a trivial mixer may be in use) */
aout_MixerMultiplierSet( p_aout, p_aout->mixer.f_multiplier );
vlc_mutex_unlock( &p_aout->mixer_lock );
return VLC_SUCCESS;
......
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