summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2007-01-08 21:25:46 +0000
committerBjörn Stenberg <bjorn@haxx.se>2007-01-08 21:25:46 +0000
commit8cece5a745f30234bfced4becfd9dfe4ca1047d4 (patch)
tree05271b6fb1f2324146b12bad6ab36ab30abf8e63
parentee4caec3c2e22ec35f3b5f667fea9464f5672a67 (diff)
downloadrockbox-8cece5a745f30234bfced4becfd9dfe4ca1047d4.tar.gz
rockbox-8cece5a745f30234bfced4becfd9dfe4ca1047d4.zip
Added fade to car adapter mode pause
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11951 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/misc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 155027b1bf..15e1a7267e 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -675,7 +675,10 @@ static void car_adapter_mode_processing(bool inserted)
if ((audio_status() & AUDIO_STATUS_PLAY) &&
!(audio_status() & AUDIO_STATUS_PAUSE))
{
- audio_pause();
+ if (global_settings.fade_on_stop)
+ fade(0);
+ else
+ audio_pause();
}
}
}