diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 6 |
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 |
180 | extern bool audio_is_initialized; | 184 | extern bool audio_is_initialized; |
181 | #else | 185 | #else |
@@ -278,7 +282,7 @@ extern struct codec_api ci_voice; | |||
278 | static struct thread_entry *voice_thread_p = NULL; | 282 | static struct thread_entry *voice_thread_p = NULL; |
279 | static struct event_queue voice_queue; | 283 | static struct event_queue voice_queue; |
280 | static long voice_stack[(DEFAULT_STACK_SIZE + 0x2000)/sizeof(long)] | 284 | static long voice_stack[(DEFAULT_STACK_SIZE + 0x2000)/sizeof(long)] |
281 | IBSS_ATTR; | 285 | IBSS_ATTR_VOICE_STACK; |
282 | static const char voice_thread_name[] = "voice codec"; | 286 | static const char voice_thread_name[] = "voice codec"; |
283 | 287 | ||
284 | /* Voice codec swapping control */ | 288 | /* Voice codec swapping control */ |