summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-04-28 14:13:13 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-04-28 14:13:13 +0000
commitc97e503a1077d10ddeb4a5283f9d112ee2805429 (patch)
tree94017afb579e11aff92125882bf5188646cae3ab /apps/playback.c
parenta5d3029c82ff0f47f8ea6608e84995f360f2adad (diff)
Cleaned up playblack.h header file and usage of it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17276 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 222af769b1..a63e303877 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -151,6 +151,14 @@ enum filling_state {
STATE_FINISHED, /* all remaining tracks have been added */
};
+#if MEM > 1
+#define MAX_TRACK 128
+#else
+#define MAX_TRACK 32
+#endif
+
+#define MAX_TRACK_MASK (MAX_TRACK-1)
+
/* As defined in plugins/lib/xxx2wav.h */
#if MEM > 1
#define MALLOC_BUFSIZE (512*1024)