1
0
Fork 0
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:
Linus Nielsen Feltzing 2002-12-05 11:09:52 +00:00
parent ba0438e78d
commit 8344437de0

View file

@ -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;