summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-04-07 17:11:55 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-04-07 17:11:55 +0000
commit9ab84b073f6280093910aaa1efc9d56c0e067843 (patch)
treeae190c9d75d510617b21e4a34101e75a3643aee7
parent6b63f23648d04dd4d0dee2d878b1457da6b5cf53 (diff)
downloadrockbox-9ab84b073f6280093910aaa1efc9d56c0e067843.tar.gz
rockbox-9ab84b073f6280093910aaa1efc9d56c0e067843.tar.bz2
rockbox-9ab84b073f6280093910aaa1efc9d56c0e067843.zip
Patch by Rafaël Carré - Sansa AMS : inform pcm.c when playback stopped, use pcm_play_dma_stopped_callback()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20644 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c
index 650a86f85c..5074941f4a 100644
--- a/firmware/target/arm/as3525/pcm-as3525.c
+++ b/firmware/target/arm/as3525/pcm-as3525.c
@@ -84,7 +84,10 @@ static void dma_callback(void)
}
if(!dma_size)
+ {
pcm_play_dma_stop();
+ pcm_play_dma_stopped_callback();
+ }
else
play_start_pcm();
}