OutputControl: update both ReplayGainFilters
The "mode" of the second ReplayGainFilter was never set, and thus replay gain was never applied to the new song during cross-fade.
This commit is contained in:
parent
6b3b8c6f2e
commit
c05691b546
1
NEWS
1
NEWS
|
@ -10,6 +10,7 @@ ver 0.18.6 (not yet released)
|
|||
- osx: fix build failure
|
||||
* mixer
|
||||
- alsa: fix build failure with uClibc
|
||||
* fix replay gain during cross-fade
|
||||
* accept files without metadata
|
||||
|
||||
ver 0.18.5 (2013/11/23)
|
||||
|
|
|
@ -101,6 +101,8 @@ audio_output_set_replay_gain_mode(struct audio_output *ao,
|
|||
{
|
||||
if (ao->replay_gain_filter != nullptr)
|
||||
replay_gain_filter_set_mode(ao->replay_gain_filter, mode);
|
||||
if (ao->other_replay_gain_filter != nullptr)
|
||||
replay_gain_filter_set_mode(ao->other_replay_gain_filter, mode);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue