summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index bf22c7b..8b6d1e2 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -1484,11 +1484,14 @@ audio_thread_quit:
/* End of libmad stuff */
-/* The audio stack is stolen from the core codec thread */
+/* The audio stack is stolen from the core codec thread (but not in uisim) */
#define AUDIO_STACKSIZE (9*1024)
-static uint32_t codec_stack_copy[AUDIO_STACKSIZE / sizeof(uint32_t)];
uint32_t* audio_stack;
+#ifndef SIMULATOR
+static uint32_t codec_stack_copy[AUDIO_STACKSIZE / sizeof(uint32_t)];
+#endif
+
/* TODO: Check if 4KB is appropriate - it works for my test streams,
so maybe we can reduce it. */
#define VIDEO_STACKSIZE (4*1024)