diff options
Diffstat (limited to 'apps/voice_thread.h')
-rw-r--r-- | apps/voice_thread.h | 14 |
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 |
28 | typedef void (*mp3_play_callback_t)(const void **start, size_t *size); | 28 | typedef void (*voice_play_callback_t)(const void **start, size_t *size); |
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | void mp3_play_data(const void *start, size_t size, | 31 | void voice_play_data(const void *start, size_t size, |
32 | mp3_play_callback_t get_more); | 32 | voice_play_callback_t get_more); |
33 | void mp3_play_stop(void); | 33 | void voice_play_stop(void); |
34 | void mp3_play_pause(bool play); | ||
35 | bool mp3_is_playing(void); | ||
36 | 34 | ||
37 | void voice_wait(void); | 35 | void voice_wait(void); |
38 | void voice_stop(void); | 36 | void voice_stop(void); |