1
0
Fork 0
forked from len0rd/rockbox

Accept FS#11606 by Michael Gentry, making ACTION_TREE_STOP stop radio too.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28295 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-10-17 08:47:56 +00:00
parent 5432894dba
commit 65ee5eb5e7
2 changed files with 11 additions and 2 deletions

View file

@ -57,6 +57,10 @@
#include "yesno.h"
#include "viewport.h"
#ifdef CONFIG_TUNER
#include "radio.h"
#endif
#ifdef IPOD_ACCESSORY_PROTOCOL
#include "iap.h"
#endif
@ -376,10 +380,14 @@ bool list_stop_handler(void)
{
bool ret = false;
#if CONFIG_TUNER
radio_stop();
#endif
/* Stop the music if it is playing */
if(audio_status())
if(audio_status())
{
if (!global_settings.party_mode)
if (!global_settings.party_mode)
{
if (global_settings.fade_on_stop)
fade(false, false);

View file

@ -560,6 +560,7 @@ István Nagy
Wojciech Lesniak
Tuomas Airaksinen
Calvin Walden
Michael Gentry
The libmad team
The wavpack team