summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index f1589ac22e..892bd15105 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -176,6 +176,10 @@ enum {
176#endif 176#endif
177#define CODEC_IRAM_SIZE 0xc000 177#define CODEC_IRAM_SIZE 0xc000
178 178
179#ifndef IBSS_ATTR_VOICE_STACK
180#define IBSS_ATTR_VOICE_STACK IBSS_ATTR
181#endif
182
179#ifndef SIMULATOR 183#ifndef SIMULATOR
180extern bool audio_is_initialized; 184extern bool audio_is_initialized;
181#else 185#else
@@ -278,7 +282,7 @@ extern struct codec_api ci_voice;
278static struct thread_entry *voice_thread_p = NULL; 282static struct thread_entry *voice_thread_p = NULL;
279static struct event_queue voice_queue; 283static struct event_queue voice_queue;
280static long voice_stack[(DEFAULT_STACK_SIZE + 0x2000)/sizeof(long)] 284static long voice_stack[(DEFAULT_STACK_SIZE + 0x2000)/sizeof(long)]
281IBSS_ATTR; 285IBSS_ATTR_VOICE_STACK;
282static const char voice_thread_name[] = "voice codec"; 286static const char voice_thread_name[] = "voice codec";
283 287
284/* Voice codec swapping control */ 288/* Voice codec swapping control */