diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/playback.c b/apps/playback.c index 8fdca01458..872bf6f3e9 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -322,18 +322,18 @@ static unsigned char *dram_buf[2] = { NULL, NULL }; | |||
322 | static struct mutex mutex_codecthread NOCACHEBSS_ATTR; | 322 | static struct mutex mutex_codecthread NOCACHEBSS_ATTR; |
323 | 323 | ||
324 | /* Voice state */ | 324 | /* Voice state */ |
325 | static volatile bool voice_thread_start; /* Triggers voice playback (A/V) */ | 325 | static volatile bool voice_thread_start = false; /* Triggers voice playback (A/V) */ |
326 | static volatile bool voice_is_playing NOCACHEBSS_ATTR; /* Is voice currently playing? (V) */ | 326 | static volatile bool voice_is_playing NOCACHEBSS_ATTR = false; /* Is voice currently playing? (V) */ |
327 | static volatile bool voice_codec_loaded NOCACHEBSS_ATTR; /* Is voice codec loaded (V/A-) */ | 327 | static volatile bool voice_codec_loaded NOCACHEBSS_ATTR = false; /* Is voice codec loaded (V/A-) */ |
328 | static char *voicebuf; | 328 | static char *voicebuf = NULL; |
329 | static size_t voice_remaining; | 329 | static size_t voice_remaining = 0; |
330 | 330 | ||
331 | #ifdef IRAM_STEAL | 331 | #ifdef IRAM_STEAL |
332 | /* Voice IRAM has been stolen for other use */ | 332 | /* Voice IRAM has been stolen for other use */ |
333 | static bool voice_iram_stolen = false; | 333 | static bool voice_iram_stolen = false; |
334 | #endif | 334 | #endif |
335 | 335 | ||
336 | static void (*voice_getmore)(unsigned char** start, int* size); | 336 | static void (*voice_getmore)(unsigned char** start, int* size) = NULL; |
337 | 337 | ||
338 | struct voice_info { | 338 | struct voice_info { |
339 | void (*callback)(unsigned char **start, int *size); | 339 | void (*callback)(unsigned char **start, int *size); |