diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-17 12:34:05 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-17 12:34:05 +0000 |
commit | fcf36dd4f9879a82342e5606535d2dcf46d1de2a (patch) | |
tree | 21ed249c7a6f9d0bd7e2049c7a9f9e0708ba28f8 /apps/plugins/mpegplayer/mpegplayer.h | |
parent | 9fde12676b382a31a10c58e2473edfde460e4d73 (diff) | |
download | rockbox-fcf36dd4f9879a82342e5606535d2dcf46d1de2a.tar.gz rockbox-fcf36dd4f9879a82342e5606535d2dcf46d1de2a.zip |
Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26101 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.h')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.h b/apps/plugins/mpegplayer/mpegplayer.h index bf223c3330..f6617cedff 100644 --- a/apps/plugins/mpegplayer/mpegplayer.h +++ b/apps/plugins/mpegplayer/mpegplayer.h | |||
@@ -31,6 +31,9 @@ | |||
31 | #endif | 31 | #endif |
32 | /* #else function-like empty macros are defined in the headers */ | 32 | /* #else function-like empty macros are defined in the headers */ |
33 | 33 | ||
34 | /* Should be enough for now */ | ||
35 | #define MPEGPLAYER_MAX_STREAMS 4 | ||
36 | |||
34 | /* Memory allotments for various subsystems */ | 37 | /* Memory allotments for various subsystems */ |
35 | #define MIN_MEMMARGIN (4*1024) | 38 | #define MIN_MEMMARGIN (4*1024) |
36 | 39 | ||
@@ -85,7 +88,6 @@ | |||
85 | #include "mpeg2.h" | 88 | #include "mpeg2.h" |
86 | #include "video_out.h" | 89 | #include "video_out.h" |
87 | #include "mpeg_stream.h" | 90 | #include "mpeg_stream.h" |
88 | #include "mpeg_linkedlist.h" | ||
89 | #include "mpeg_misc.h" | 91 | #include "mpeg_misc.h" |
90 | #include "mpeg_alloc.h" | 92 | #include "mpeg_alloc.h" |
91 | #include "stream_thread.h" | 93 | #include "stream_thread.h" |