Added fade to car adapter mode pause

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11951 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2007-01-08 21:25:46 +00:00
parent ee4caec3c2
commit 8cece5a745

View file

@ -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();
}
}
}