diff options
Diffstat (limited to 'apps/voice_thread.h')
-rw-r--r-- | apps/voice_thread.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/voice_thread.h b/apps/voice_thread.h index 49b2f3f930..4e4af1fc5c 100644 --- a/apps/voice_thread.h +++ b/apps/voice_thread.h | |||
@@ -23,8 +23,10 @@ | |||
23 | 23 | ||
24 | #include "config.h" | 24 | #include "config.h" |
25 | 25 | ||
26 | void mp3_play_data(const unsigned char* start, int size, | 26 | typedef void (*mp3_play_callback_t)(const void **start, size_t *size); |
27 | void (*get_more)(unsigned char** start, size_t* size)); | 27 | |
28 | void mp3_play_data(const void *start, size_t size, | ||
29 | mp3_play_callback_t get_more); | ||
28 | void mp3_play_stop(void); | 30 | void mp3_play_stop(void); |
29 | void mp3_play_pause(bool play); | 31 | void mp3_play_pause(bool play); |
30 | bool mp3_is_playing(void); | 32 | bool mp3_is_playing(void); |