summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 31ec21afda..37a5de97b2 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -181,12 +181,7 @@ enum {
181#define IBSS_ATTR_VOICE_STACK IBSS_ATTR 181#define IBSS_ATTR_VOICE_STACK IBSS_ATTR
182#endif 182#endif
183 183
184#ifndef SIMULATOR 184bool audio_is_initialized = false;
185extern bool audio_is_initialized;
186#else
187static bool audio_is_initialized = false;
188#endif
189
190 185
191/* Variables are commented with the threads that use them: * 186/* Variables are commented with the threads that use them: *
192 * A=audio, C=codec, V=voice. A suffix of - indicates that * 187 * A=audio, C=codec, V=voice. A suffix of - indicates that *
@@ -381,6 +376,17 @@ void mp3_play_stop(void)
381#endif 376#endif
382} 377}
383 378
379void mp3_play_pause(bool play)
380{
381 /* a dummy */
382 (void)play;
383}
384
385bool mp3_is_playing(void)
386{
387 return voice_is_playing;
388}
389
384bool mp3_pause_done(void) 390bool mp3_pause_done(void)
385{ 391{
386 return pcm_is_paused(); 392 return pcm_is_paused();