summaryrefslogtreecommitdiff
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-08-12 23:01:52 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-08-12 23:01:52 +0000
commit28910e7e17786607d0286f2901d77a83d55a7f2c (patch)
treeaf59a984937d627f40dc93b63a17f124bc7aa155 /apps/pcmbuf.c
parentc1810b31f170e887668652ff4e3d76c392a5fb70 (diff)
Various lower limits and sizes for targets with 1MB of RAM (Iriver iFP7xx).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10556 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 2075fc66e7..eb8b2a3f3d 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -740,7 +740,11 @@ static bool prepare_insert(size_t length)
{
pcmbuf_boost(true);
/* Pre-buffer 1s. */
+#if MEMORYSIZE <= 1
+ if (!LOW_DATA(1))
+#else
if (!LOW_DATA(4))
+#endif
{
logf("pcm starting");
pcmbuf_play_start();