diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-09-20 10:36:25 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-09-20 14:52:30 +0000 |
commit | 5d40d9758500e1215c2eeb326ec06fa95500be67 (patch) | |
tree | e28fb0b66e207204f8c827e3201f13fe6e301c25 /apps/voice_thread.h | |
parent | e404026308081dd1aef79e891326040747fef9d6 (diff) | |
download | rockbox-5d40d9758500e1215c2eeb326ec06fa95500be67.tar.gz rockbox-5d40d9758500e1215c2eeb326ec06fa95500be67.zip |
voice: rename mp3_play_* functions to voice_play_*
Remove mp3_is_playing() entirely, in favor of pcm_is_playing()
Remove mp3_play_pause() entirely, as it's a dummy/no-op call
Remoce some archos-specific comments
Change-Id: I4e9ff323490a93add00809efd19e0d4e3f198b2d
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); |