summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2007-05-19 19:30:08 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2007-05-19 19:30:08 +0000
commiteb7603f1c540cad4af4661fd6461dd56a4436a8e (patch)
treef574c77701b75b99ee341ddbbd77b1c252db97f1 /firmware/target/coldfire
parent94a372524ae8b56349c8eeccf5431fbd6742a78d (diff)
always reset the pcm_paused flag when stopping playback. fixes FS #7187
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13423 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/pcm-coldfire.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c
index faddf70470..b52e5e09b5 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -216,6 +216,7 @@ void pcm_play_dma_start(const void *addr, size_t size)
static void pcm_play_dma_stop_irq(void)
{
pcm_playing = false;
+ pcm_paused = false;
DSR0 = 1;
DCR0 = 0;
@@ -223,8 +224,6 @@ static void pcm_play_dma_stop_irq(void)
/* Place TX FIFO in reset condition if playback monitoring is on.
Recording monitoring something else should not be stopped. */
iis_play_reset_if_playback(true);
-
- pcm_playing = false;
} /* pcm_play_dma_stop_irq */
void pcm_play_dma_stop(void)