summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-03-29 23:21:19 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-03-29 23:21:19 +0000
commit8a6fd3ff4e63c81d7d50af535791318481280f95 (patch)
treef717681ac71522e43d74f92a5985b657fb5ad0ec
parent9120c85698945de6df7e544dc518bb3fda2e38e0 (diff)
downloadrockbox-8a6fd3ff4e63c81d7d50af535791318481280f95.tar.gz
rockbox-8a6fd3ff4e63c81d7d50af535791318481280f95.zip
Just change PRIORITY_BUFFERING to 15. Seems a teeny tiny bit helpful to mpegplayer as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16884 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/buffering.c2
-rw-r--r--firmware/export/thread.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 68e77a82f7..6d4192443c 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -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-1)
+ buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING)
IF_COP(, CPU));
queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list,
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index bb1cb7cd17..8c2338715c 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -46,11 +46,11 @@
#define PRIORITY_REALTIME_3 3
#define PRIORITY_REALTIME_4 4
#define PRIORITY_REALTIME 4 /* Lowest realtime range */
+#define PRIORITY_BUFFERING 15 /* Codec buffering thread */
#define PRIORITY_USER_INTERFACE 16 /* The main thread */
#define PRIORITY_RECORDING 16 /* Recording thread */
#define PRIORITY_PLAYBACK 16 /* Variable between this and MAX */
#define PRIORITY_PLAYBACK_MAX 5 /* Maximum allowable playback priority */
-#define PRIORITY_BUFFERING 16 /* Codec buffering thread */
#define PRIORITY_SYSTEM 18 /* All other firmware threads */
#define PRIORITY_BACKGROUND 20 /* Normal application threads */
#define NUM_PRIORITIES 32