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 @@ #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); +#ifndef VOICE_PLAY_CALLBACK_DEFINED +#define VOICE_PLAY_CALLBACK_DEFINED +typedef void (*voice_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); -void mp3_play_stop(void); -void mp3_play_pause(bool play); -bool mp3_is_playing(void); +void voice_play_data(const void *start, size_t size, + voice_play_callback_t get_more); +void voice_play_stop(void); void voice_wait(void); void voice_stop(void); |