Also fade out when stopping playback from within the browser (when configured to fade). Patch by Alistair Marshall for bug 5578

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10173 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2006-07-01 23:48:30 +00:00
parent c26a085162
commit 5f3c012984
2 changed files with 4 additions and 0 deletions

View file

@ -63,6 +63,7 @@
#include "dircache.h"
#include "tagcache.h"
#include "yesno.h"
#include "gwps-common.h"
/* gui api */
#include "list.h"
@ -643,6 +644,8 @@ static bool dirbrowse(void)
/* Stop the music if it is playing */
if(audio_status()) {
if (!global_settings.party_mode)
if (global_settings.fade_on_stop)
fade(0);
audio_stop();
}
#if defined(CONFIG_CHARGING) && \

View file

@ -207,3 +207,4 @@ Ewan Davies
Frédéric François
Marc-André Moreau
Ioannis Koutoulakis
Alistair Marshall