diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-12-05 11:09:52 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-12-05 11:09:52 +0000 |
| commit | 8344437de0064c69c06fb3c4948fd92a28aeb3b7 (patch) | |
| tree | 62ff007a6c5e2cbfd0918b18a209c03790882899 | |
| parent | ba0438e78de14bcb8c62050d0459b686f96df13d (diff) | |
| download | rockbox-8344437de0064c69c06fb3c4948fd92a28aeb3b7.zip rockbox-8344437de0064c69c06fb3c4948fd92a28aeb3b7.tar.gz rockbox-8344437de0064c69c06fb3c4948fd92a28aeb3b7.tar.bz2 rockbox-8344437de0064c69c06fb3c4948fd92a28aeb3b7.tar.xz | |
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
| -rw-r--r-- | firmware/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index cf29dad..6aad963 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -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; |