From 9b7027232f2cab49e4854d56651388cf6c1461f0 Mon Sep 17 00:00:00 2001 From: Michael Hohmuth Date: Mon, 9 May 2011 12:51:19 +0000 Subject: unplug_change: Precede call to audio_ff_rewind with audio_pre_ff_rewind (for SWCODEC). This became necessary with the recent playback-code renovation. Thanks to jethead for the hint! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29843 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps') diff --git a/apps/misc.c b/apps/misc.c index 55fd7f5f51..12d0c8d95a 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -510,6 +510,9 @@ static void unplug_change(bool inserted) if (global_settings.unplug_rw) { +#if (CONFIG_CODEC == SWCODEC) + audio_pre_ff_rewind(); +#endif if (audio_current_track()->elapsed > (unsigned long)(global_settings.unplug_rw*1000)) audio_ff_rewind(audio_current_track()->elapsed - -- cgit v1.2.3