summaryrefslogtreecommitdiffstats
path: root/apps/buffering.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-03-29 20:52:56 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-03-29 20:52:56 +0000
commit9120c85698945de6df7e544dc518bb3fda2e38e0 (patch)
treef4ef339eef899776729900f31b71a56fb1887ddf /apps/buffering.c
parent3d36f4e93867d059308255b4473f43c55cc3400c (diff)
downloadrockbox-9120c85698945de6df7e544dc518bb3fda2e38e0.tar.gz
rockbox-9120c85698945de6df7e544dc518bb3fda2e38e0.tar.bz2
rockbox-9120c85698945de6df7e544dc518bb3fda2e38e0.zip
Change the default buffer filechunk back to 32KB and bump the buffering thread priority up by one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16883 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.c')
-rw-r--r--apps/buffering.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 9c790da693..68e77a82f7 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -88,7 +88,7 @@
/* default point to start buffer refill */
#define BUFFERING_DEFAULT_WATERMARK (1024*512)
/* amount of data to read in one read() call */
-#define BUFFERING_DEFAULT_FILECHUNK (1024*16)
+#define BUFFERING_DEFAULT_FILECHUNK (1024*32)
/* point at which the file buffer will fight for CPU time */
#define BUFFERING_CRITICAL_LEVEL (1024*128)
@@ -1466,7 +1466,7 @@ void buffering_init(void)
queue_init(&buffering_queue, true);
buffering_thread_p = create_thread( buffering_thread, buffering_stack,
sizeof(buffering_stack), CREATE_THREAD_FROZEN,
- buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING)
+ buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING-1)
IF_COP(, CPU));
queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list,