From 7444a1f32b6c29ba5946cafa75a96b4c0a5d2a40 Mon Sep 17 00:00:00 2001 From: jethead71 Date: Sat, 29 Mar 2008 20:52:56 +0000 Subject: [PATCH] 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 --- apps/buffering.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/buffering.c b/apps/buffering.c index 9c790da69..68e77a82f 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, -- 2.11.4.GIT