mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
6b63f23648
commit
9ab84b073f
1 changed files with 3 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue