From 1c36a660ea82a34e7f400b1359dd6960919cd010 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Sun, 4 Nov 2007 00:23:22 +0000 Subject: [PATCH] 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 --- apps/buffering.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/buffering.c b/apps/buffering.c index de9b28c298..c4766561a4 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)) @@ -1260,6 +1263,7 @@ void buffering_thread(void) update_data_counters(); } } +#endif #endif if (queue_empty(&buffering_queue)) {