summaryrefslogtreecommitdiff
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)
1466 queue_init(&buffering_queue, true); 1466 queue_init(&buffering_queue, true);
1467 buffering_thread_p = create_thread( buffering_thread, buffering_stack, 1467 buffering_thread_p = create_thread( buffering_thread, buffering_stack,
1468 sizeof(buffering_stack), CREATE_THREAD_FROZEN, 1468 sizeof(buffering_stack), CREATE_THREAD_FROZEN,
1469 buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING-1) 1469 buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING)
1470 IF_COP(, CPU)); 1470 IF_COP(, CPU));
1471 1471
1472 queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list, 1472 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 @@
46#define PRIORITY_REALTIME_3 3 46#define PRIORITY_REALTIME_3 3
47#define PRIORITY_REALTIME_4 4 47#define PRIORITY_REALTIME_4 4
48#define PRIORITY_REALTIME 4 /* Lowest realtime range */ 48#define PRIORITY_REALTIME 4 /* Lowest realtime range */
49#define PRIORITY_BUFFERING 15 /* Codec buffering thread */
49#define PRIORITY_USER_INTERFACE 16 /* The main thread */ 50#define PRIORITY_USER_INTERFACE 16 /* The main thread */
50#define PRIORITY_RECORDING 16 /* Recording thread */ 51#define PRIORITY_RECORDING 16 /* Recording thread */
51#define PRIORITY_PLAYBACK 16 /* Variable between this and MAX */ 52#define PRIORITY_PLAYBACK 16 /* Variable between this and MAX */
52#define PRIORITY_PLAYBACK_MAX 5 /* Maximum allowable playback priority */ 53#define PRIORITY_PLAYBACK_MAX 5 /* Maximum allowable playback priority */
53#define PRIORITY_BUFFERING 16 /* Codec buffering thread */
54#define PRIORITY_SYSTEM 18 /* All other firmware threads */ 54#define PRIORITY_SYSTEM 18 /* All other firmware threads */
55#define PRIORITY_BACKGROUND 20 /* Normal application threads */ 55#define PRIORITY_BACKGROUND 20 /* Normal application threads */
56#define NUM_PRIORITIES 32 56#define NUM_PRIORITIES 32