summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-06 08:20:53 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-06 08:20:53 +0000
commit2023b4729304d4dce37e0b2222f27ab2012f5e25 (patch)
treeda0fc3b620b05006084210f5bdfc3da9de16b804 /firmware
parent65a1b1a65b2314817655a5fcab2082480a10e554 (diff)
downloadrockbox-2023b4729304d4dce37e0b2222f27ab2012f5e25.tar.gz
rockbox-2023b4729304d4dce37e0b2222f27ab2012f5e25.zip
Decreased pcm buffer low watermark when crossfade is not enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7036 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/pcm_playback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 20cd1f2dbd..be7f4e4379 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -47,8 +47,7 @@
/* 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 (PCMBUF_SIZE - CHUNK_SIZE*8)
+#define PCM_WATERMARK (CHUNK_SIZE * 10)
#define PCM_CF_WATERMARK (PCMBUF_SIZE - CHUNK_SIZE*8)
static bool pcm_playing;