diff options
| author | Michael Hohmuth <sideral@rockbox.org> | 2011-05-09 12:51:19 +0000 |
|---|---|---|
| committer | Michael Hohmuth <sideral@rockbox.org> | 2011-05-09 12:51:19 +0000 |
| commit | 9b7027232f2cab49e4854d56651388cf6c1461f0 (patch) | |
| tree | bfeafec8cebf3261923b5be92ad26ccc7359ce26 | |
| parent | 9befc2e747e4f6cd2687bf267097cc7a8fd4c601 (diff) | |
| download | rockbox-9b7027232f2cab49e4854d56651388cf6c1461f0.zip rockbox-9b7027232f2cab49e4854d56651388cf6c1461f0.tar.gz rockbox-9b7027232f2cab49e4854d56651388cf6c1461f0.tar.bz2 rockbox-9b7027232f2cab49e4854d56651388cf6c1461f0.tar.xz | |
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
| -rw-r--r-- | apps/misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c index 55fd7f5..12d0c8d 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 - |