forked from len0rd/rockbox
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
This commit is contained in:
parent
015f6286a8
commit
1c36a660ea
1 changed files with 4 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue