summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-04 19:17:55 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-04 19:17:55 +0000
commit55819b7859bf99ac7960e5100eed6fcaa1909f67 (patch)
treef91d96f2d1f74e9cd6e6a467ede5f2c4aa1f8aa0
parentd0ec0cec10c96c59beeda505e4c42f625109fd64 (diff)
downloadrockbox-55819b7859bf99ac7960e5100eed6fcaa1909f67.tar.gz
rockbox-55819b7859bf99ac7960e5100eed6fcaa1909f67.tar.bz2
rockbox-55819b7859bf99ac7960e5100eed6fcaa1909f67.zip
Increased low watermark limit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7012 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/pcm_playback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 73d0db9e35..9e02079d76 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -47,7 +47,8 @@
/* Must be a power of 2 */
#define NUM_PCM_BUFFERS (PCMBUF_SIZE / CHUNK_SIZE)
#define NUM_PCM_BUFFERS_MASK (NUM_PCM_BUFFERS - 1)
-#define PCM_WATERMARK (CHUNK_SIZE * 6)
+//#define PCM_WATERMARK (CHUNK_SIZE * 6)
+#define PCM_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
#define PCM_CF_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
static bool pcm_playing;
@@ -259,7 +260,6 @@ void pcm_play_stop(void)
pcm_boost(false);
if (pcm_playing) {
uda1380_mute(true);
- sleep(1);
dma_stop();
}
}