summaryrefslogtreecommitdiff
path: root/apps/voice_thread.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-09-20 10:36:25 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-09-20 14:52:30 +0000
commit5d40d9758500e1215c2eeb326ec06fa95500be67 (patch)
treee28fb0b66e207204f8c827e3201f13fe6e301c25 /apps/voice_thread.h
parente404026308081dd1aef79e891326040747fef9d6 (diff)
downloadrockbox-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.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);