summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.h
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-05-08 11:03:19 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-05-08 11:03:19 +0000
commitddaf5f096c4b47cdc250bbb739bd2952b3d1129f (patch)
tree5fcf31d54965d75031cf3c20d59a9cf89b31bfc5 /apps/pcmbuf.h
parentb9b2bcd9b9706abe5898813ac26c33d02ba1a996 (diff)
downloadrockbox-ddaf5f096c4b47cdc250bbb739bd2952b3d1129f.tar.gz
rockbox-ddaf5f096c4b47cdc250bbb739bd2952b3d1129f.tar.bz2
rockbox-ddaf5f096c4b47cdc250bbb739bd2952b3d1129f.zip
Revert a previous change, works around the problem of freezing on stop-while-paused, and skipping with crossfade
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9889 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.h')
-rw-r--r--apps/pcmbuf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h
index ffd62ed1b6..15633d5214 100644
--- a/apps/pcmbuf.h
+++ b/apps/pcmbuf.h
@@ -21,6 +21,10 @@
#define PCMBUF_TARGET_CHUNK 32768 /* This is the target fill size of chunks
on the pcm buffer */
+#define PCMBUF_MINAVG_CHUNK 24576 /* This is the minimum average size of
+ chunks on the pcm buffer (or we run out
+ of buffer descriptors, which is
+ non-fatal) */
#define PCMBUF_MIN_CHUNK 4096 /* We try to never feed a chunk smaller than
this to the DMA */
#define PCMBUF_MIX_CHUNK 8192 /* This is the maximum size of one packet