diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2007-05-19 19:30:08 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2007-05-19 19:30:08 +0000 |
commit | eb7603f1c540cad4af4661fd6461dd56a4436a8e (patch) | |
tree | f574c77701b75b99ee341ddbbd77b1c252db97f1 /firmware/target/arm | |
parent | 94a372524ae8b56349c8eeccf5431fbd6742a78d (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/arm')
-rw-r--r-- | firmware/target/arm/pcm-pp.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c index 6ecc3dae31..5aa27dd12f 100644 --- a/firmware/target/arm/pcm-pp.c +++ b/firmware/target/arm/pcm-pp.c @@ -248,6 +248,7 @@ void pcm_play_dma_start(const void *addr, size_t size) void pcm_play_dma_stop(void) { pcm_playing = false; + pcm_paused = false; #if CONFIG_CPU == PP5020 || CONFIG_CPU == PP5024 diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c index 52ab3f165f..592842668d 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c @@ -167,6 +167,7 @@ static void pcm_play_dma_stop_fiq(void) while (IISCON & (1<<7)) ; pcm_playing = false; + pcm_paused = false; } /* De-Activate the DMA channel */ |