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)
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 @@
#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);