forked from len0rd/rockbox
Better handling of DMA underrun. Now maybe the stopping audio is history...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2936 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ba0438e78d
commit
8344437de0
1 changed files with 1 additions and 1 deletions
|
|
@ -1074,7 +1074,7 @@ static void start_playback_if_ready(void)
|
|||
the watermark, the file must be smaller than the
|
||||
watermark. We must still play it. */
|
||||
if(((mp3buf_swapwrite - mp3buf_read) >= MPEG_LOW_WATER) ||
|
||||
!filling)
|
||||
!filling || dma_underrun)
|
||||
{
|
||||
DEBUGF("P\n");
|
||||
play_pending = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue