[vlc-commits] Replay gain: no need to restart the audio mixer (anymore)

Rémi Denis-Courmont git at videolan.org
Tue May 31 17:36:02 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 31 18:08:42 2011 +0300| [600240e248041eff4e664a011d6c4c4bd64474aa] | committer: Rémi Denis-Courmont

Replay gain: no need to restart the audio mixer (anymore)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=600240e248041eff4e664a011d6c4c4bd64474aa
---

 src/audio_output/input.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/audio_output/input.c b/src/audio_output/input.c
index 3bbf82e..a212502 100644
--- a/src/audio_output/input.c
+++ b/src/audio_output/input.c
@@ -901,10 +901,6 @@ static int ReplayGainCallback( vlc_object_t *p_this, char const *psz_cmd,
     aout_lock_mixer( p_aout );
     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) */
-    if( p_aout->p_mixer )
-        aout_MixerMultiplierSet( p_aout, p_aout->mixer_multiplier );
     aout_unlock_mixer( p_aout );
 
     return VLC_SUCCESS;
@@ -961,4 +957,3 @@ static void ReplayGainSelect( aout_instance_t *p_aout, aout_input_t *p_input )
 
     free( psz_replay_gain );
 }
-



More information about the vlc-commits mailing list