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.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/voice_thread.h b/apps/voice_thread.h
index 8a17ee09e3..d662aaee33 100644
--- a/apps/voice_thread.h
+++ b/apps/voice_thread.h
@@ -23,16 +23,14 @@
23 23
24#include "config.h" 24#include "config.h"
25 25
26#ifndef MP3_PLAY_CALLBACK_DEFINED 26#ifndef VOICE_PLAY_CALLBACK_DEFINED
27#define MP3_PLAY_CALLBACK_DEFINED 27#define VOICE_PLAY_CALLBACK_DEFINED
28typedef void (*mp3_play_callback_t)(const void **start, size_t *size); 28typedef void (*voice_play_callback_t)(const void **start, size_t *size);
29#endif 29#endif
30 30
31void mp3_play_data(const void *start, size_t size, 31void voice_play_data(const void *start, size_t size,
32 mp3_play_callback_t get_more); 32 voice_play_callback_t get_more);
33void mp3_play_stop(void); 33void voice_play_stop(void);
34void mp3_play_pause(bool play);
35bool mp3_is_playing(void);
36 34
37void voice_wait(void); 35void voice_wait(void);
38void voice_stop(void); 36void voice_stop(void);