From 5f3c0129845f30a7dc5780951fffa1699acc1e5c Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Sat, 1 Jul 2006 23:48:30 +0000 Subject: 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 --- apps/tree.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index 80132449e9..4556d86c53 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -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) && \ -- cgit v1.2.3