From 68f9e1ad5772ceeddec11a602d6eaf4806adec16 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 9 Mar 2007 12:51:25 +0000 Subject: Guess there were more changes to it.:) Odd that mine built until a make clean. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12694 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'apps') 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 { #define IBSS_ATTR_VOICE_STACK IBSS_ATTR #endif -#ifndef SIMULATOR -extern bool audio_is_initialized; -#else -static bool audio_is_initialized = false; -#endif - +bool audio_is_initialized = false; /* Variables are commented with the threads that use them: * * A=audio, C=codec, V=voice. A suffix of - indicates that * @@ -381,6 +376,17 @@ void mp3_play_stop(void) #endif } +void mp3_play_pause(bool play) +{ + /* a dummy */ + (void)play; +} + +bool mp3_is_playing(void) +{ + return voice_is_playing; +} + bool mp3_pause_done(void) { return pcm_is_paused(); -- cgit v1.2.3