summaryrefslogtreecommitdiffstats
path: root/apps/voice_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/voice_thread.h')
-rw-r--r--apps/voice_thread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/voice_thread.h b/apps/voice_thread.h
index e88630439b..64c20c1e8d 100644
--- a/apps/voice_thread.h
+++ b/apps/voice_thread.h
@@ -23,7 +23,10 @@
#include "config.h"
+#ifndef MP3_PLAY_CALLBACK_DEFINED
+#define MP3_PLAY_CALLBACK_DEFINED
typedef void (*mp3_play_callback_t)(const void **start, size_t *size);
+#endif
void mp3_play_data(const void *start, size_t size,
mp3_play_callback_t get_more);
@@ -39,6 +42,4 @@ void voice_thread_init(void) INIT_ATTR;
void voice_thread_set_priority(int priority);
#endif
-size_t voicebuf_init(void *bufend);
-
#endif /* VOICE_THREAD_H */