diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-12-04 16:37:38 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-12-04 16:37:38 +0000 |
commit | 3f11ff62705c1a82ffa61790b16bd180012fc8fb (patch) | |
tree | 56417ccf70be17ab972aa32c2fda127c8b3a1562 | |
parent | 8c800cf59af23eaa22b97e89556640f63998b9bd (diff) | |
download | rockbox-3f11ff62705c1a82ffa61790b16bd180012fc8fb.tar.gz rockbox-3f11ff62705c1a82ffa61790b16bd180012fc8fb.zip |
Bugfix: Prevent spurious bitswap when switching from recording to playback. This caused erratic voice UI behaviour under certain conditions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8148 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/mpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index ef7c315b0c..a162887fd9 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -2023,6 +2023,7 @@ static void mpeg_thread(void) | |||
2023 | case MPEG_INIT_PLAYBACK: | 2023 | case MPEG_INIT_PLAYBACK: |
2024 | /* Stop the prerecording */ | 2024 | /* Stop the prerecording */ |
2025 | stop_recording(); | 2025 | stop_recording(); |
2026 | reset_mp3_buffer(); | ||
2026 | mp3_play_init(); | 2027 | mp3_play_init(); |
2027 | init_playback_done = true; | 2028 | init_playback_done = true; |
2028 | break; | 2029 | break; |