summaryrefslogtreecommitdiff
path: root/apps/voice_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/voice_thread.h')
-rw-r--r--apps/voice_thread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/voice_thread.h b/apps/voice_thread.h
index 5f6547f..49b2f3f 100644
--- a/apps/voice_thread.h
+++ b/apps/voice_thread.h
@@ -21,6 +21,8 @@
#ifndef VOICE_THREAD_H
#define VOICE_THREAD_H
+#include "config.h"
+
void mp3_play_data(const unsigned char* start, int size,
void (*get_more)(unsigned char** start, size_t* size));
void mp3_play_stop(void);
@@ -30,7 +32,7 @@ bool mp3_is_playing(void);
void voice_wait(void);
void voice_stop(void);
-void voice_thread_init(void);
+void voice_thread_init(void) INIT_ATTR;
#ifdef HAVE_PRIORITY_SCHEDULING
void voice_thread_set_priority(int priority);
#endif