diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-09 12:51:25 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-09 12:51:25 +0000 |
commit | 68f9e1ad5772ceeddec11a602d6eaf4806adec16 (patch) | |
tree | cbe3223a8afa9185266e5077dc451a832a59ee1d /apps/playback.c | |
parent | 98cd3e8868a54541dce9875dfaf04e2695a97c37 (diff) | |
download | rockbox-68f9e1ad5772ceeddec11a602d6eaf4806adec16.tar.gz rockbox-68f9e1ad5772ceeddec11a602d6eaf4806adec16.zip |
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
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 18 |
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 | 184 | bool audio_is_initialized = false; |
185 | extern bool audio_is_initialized; | ||
186 | #else | ||
187 | static 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 | ||
379 | void mp3_play_pause(bool play) | ||
380 | { | ||
381 | /* a dummy */ | ||
382 | (void)play; | ||
383 | } | ||
384 | |||
385 | bool mp3_is_playing(void) | ||
386 | { | ||
387 | return voice_is_playing; | ||
388 | } | ||
389 | |||
384 | bool mp3_pause_done(void) | 390 | bool mp3_pause_done(void) |
385 | { | 391 | { |
386 | return pcm_is_paused(); | 392 | return pcm_is_paused(); |