summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-08 20:01:06 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-08 20:01:06 +0000
commit5d9e0536ea8b4caea8236d74e1ed9532ef151517 (patch)
tree711d29eafe208ccb16a880e4a546971865f86a75 /firmware
parenta5ef8f0c6f348e55389e66b8637484f482f8f6f1 (diff)
downloadrockbox-5d9e0536ea8b4caea8236d74e1ed9532ef151517.tar.gz
rockbox-5d9e0536ea8b4caea8236d74e1ed9532ef151517.zip
Some playback fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7076 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/pcm_playback.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 6b9a4bbd5c..b63b12f197 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -459,9 +459,11 @@ bool pcm_crossfade_init(void)
*/
void pcm_flush_audio(void)
{
- if (crossfade_init || crossfade_active || !pcm_playing)
+ if (crossfade_init || crossfade_active || !pcm_playing) {
+ pcm_play_stop();
return ;
-
+ }
+
crossfade_mode = CFM_FLUSH;
crossfade_init = true;
}