forked from len0rd/rockbox
Oops, forgot to guard a couple of calls to dsp_set_replaygain...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7560 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c694954f73
commit
415f3bddf6
2 changed files with 4 additions and 0 deletions
|
@ -664,7 +664,9 @@ bool quick_screen(int context, int button)
|
||||||
|
|
||||||
if(audio_status() & AUDIO_STATUS_PLAY)
|
if(audio_status() & AUDIO_STATUS_PLAY)
|
||||||
{
|
{
|
||||||
|
#if CONFIG_CODEC == SWCODEC
|
||||||
dsp_set_replaygain(true);
|
dsp_set_replaygain(true);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (global_settings.playlist_shuffle)
|
if (global_settings.playlist_shuffle)
|
||||||
playlist_randomise(NULL, current_tick, true);
|
playlist_randomise(NULL, current_tick, true);
|
||||||
|
|
|
@ -1296,7 +1296,9 @@ static bool playback_settings_menu(void)
|
||||||
if ((old_shuffle != global_settings.playlist_shuffle)
|
if ((old_shuffle != global_settings.playlist_shuffle)
|
||||||
&& (audio_status() & AUDIO_STATUS_PLAY))
|
&& (audio_status() & AUDIO_STATUS_PLAY))
|
||||||
{
|
{
|
||||||
|
#if CONFIG_CODEC == SWCODEC
|
||||||
dsp_set_replaygain(true);
|
dsp_set_replaygain(true);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (global_settings.playlist_shuffle)
|
if (global_settings.playlist_shuffle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue