diff options
Diffstat (limited to 'apps/voice_thread.h')
-rw-r--r-- | apps/voice_thread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/voice_thread.h b/apps/voice_thread.h index 5f6547fb76..49b2f3f930 100644 --- a/apps/voice_thread.h +++ b/apps/voice_thread.h | |||
@@ -21,6 +21,8 @@ | |||
21 | #ifndef VOICE_THREAD_H | 21 | #ifndef VOICE_THREAD_H |
22 | #define VOICE_THREAD_H | 22 | #define VOICE_THREAD_H |
23 | 23 | ||
24 | #include "config.h" | ||
25 | |||
24 | void mp3_play_data(const unsigned char* start, int size, | 26 | void mp3_play_data(const unsigned char* start, int size, |
25 | void (*get_more)(unsigned char** start, size_t* size)); | 27 | void (*get_more)(unsigned char** start, size_t* size)); |
26 | void mp3_play_stop(void); | 28 | void mp3_play_stop(void); |
@@ -30,7 +32,7 @@ bool mp3_is_playing(void); | |||
30 | void voice_wait(void); | 32 | void voice_wait(void); |
31 | void voice_stop(void); | 33 | void voice_stop(void); |
32 | 34 | ||
33 | void voice_thread_init(void); | 35 | void voice_thread_init(void) INIT_ATTR; |
34 | #ifdef HAVE_PRIORITY_SCHEDULING | 36 | #ifdef HAVE_PRIORITY_SCHEDULING |
35 | void voice_thread_set_priority(int priority); | 37 | void voice_thread_set_priority(int priority); |
36 | #endif | 38 | #endif |