diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-01-13 00:11:43 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-01-13 00:11:43 +0000 |
commit | a72499a12541fa0348e92f88662d1efe15b0ea47 (patch) | |
tree | 32a874c093616649f49f4392207b738a6f7abed7 /apps/plugins/mpegplayer/stream_mgr.c | |
parent | 43cc03457d2bda7eb3057f242ff7b23a9856408c (diff) | |
download | rockbox-a72499a12541fa0348e92f88662d1efe15b0ea47.tar.gz rockbox-a72499a12541fa0348e92f88662d1efe15b0ea47.zip |
Greyscale library: Plugins can now put the management structure in IRAM for higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/stream_mgr.c')
-rw-r--r-- | apps/plugins/mpegplayer/stream_mgr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c index b164254dd7..53b5631879 100644 --- a/apps/plugins/mpegplayer/stream_mgr.c +++ b/apps/plugins/mpegplayer/stream_mgr.c | |||
@@ -23,6 +23,10 @@ | |||
23 | #include "grey.h" | 23 | #include "grey.h" |
24 | #include "mpeg_settings.h" | 24 | #include "mpeg_settings.h" |
25 | 25 | ||
26 | #ifndef HAVE_LCD_COLOR | ||
27 | GREY_INFO_STRUCT_IRAM | ||
28 | #endif | ||
29 | |||
26 | static struct event_queue stream_mgr_queue NOCACHEBSS_ATTR; | 30 | static struct event_queue stream_mgr_queue NOCACHEBSS_ATTR; |
27 | static struct queue_sender_list stream_mgr_queue_send NOCACHEBSS_ATTR; | 31 | static struct queue_sender_list stream_mgr_queue_send NOCACHEBSS_ATTR; |
28 | static uint32_t stream_mgr_thread_stack[DEFAULT_STACK_SIZE*2/sizeof(uint32_t)]; | 32 | static uint32_t stream_mgr_thread_stack[DEFAULT_STACK_SIZE*2/sizeof(uint32_t)]; |