From 8cece5a745f30234bfced4becfd9dfe4ca1047d4 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 8 Jan 2007 21:25:46 +0000 Subject: Added fade to car adapter mode pause git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11951 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/misc.c') 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(); } } } -- cgit v1.2.3