summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2007-11-04 00:23:22 +0000
committerBrandon Low <lostlogic@rockbox.org>2007-11-04 00:23:22 +0000
commit1c36a660ea82a34e7f400b1359dd6960919cd010 (patch)
tree487e1d6e80ef21b74b4e4c870e9b01db652a7b8f /apps
parent015f6286a8db3fb79d155cf33698ededf219d32e (diff)
downloadrockbox-1c36a660ea82a34e7f400b1359dd6960919cd010.zip
rockbox-1c36a660ea82a34e7f400b1359dd6960919cd010.tar.gz
rockbox-1c36a660ea82a34e7f400b1359dd6960919cd010.tar.bz2
rockbox-1c36a660ea82a34e7f400b1359dd6960919cd010.tar.xz
Disable the already spinning optimization until it is written correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15445 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/buffering.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index de9b28c..c476656 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -1244,6 +1244,9 @@ void buffering_thread(void)
if (num_handles > 0 && data_counters.useful <= conf_watermark)
call_buffer_low_callbacks();
+#if 0
+ /* TODO: This needs to be fixed to use the idle callback, disable it
+ * for simplicity until its done right */
#if MEM > 8
/* If the disk is spinning, take advantage by filling the buffer */
else if (ata_disk_is_active() && queue_empty(&buffering_queue))
@@ -1261,6 +1264,7 @@ void buffering_thread(void)
}
}
#endif
+#endif
if (queue_empty(&buffering_queue)) {
if (filling) {