summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Jackson <rdjackso@rockbox.org>2005-07-19 22:01:47 +0000
committerRyan Jackson <rdjackso@rockbox.org>2005-07-19 22:01:47 +0000
commit300fb882beba68500482b0d56602e1b9889a20ba (patch)
tree04626c57c16215aa5f36e211e184ef8e6b20792f
parent2f9bb4ff2778dd6482c6ac8bd49ed31414a70384 (diff)
No longer crashes when resuming or on shutdown in car adapter mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7204 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playback.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 63bf4dbc4f..9198e008c6 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1576,15 +1576,11 @@ void audio_stop(void)
void audio_pause(void)
{
queue_post(&audio_queue, AUDIO_PAUSE, 0);
- while (!paused && playing)
- yield();
}
void audio_resume(void)
{
queue_post(&audio_queue, AUDIO_RESUME, 0);
- while (paused && playing)
- yield();
}
void audio_next(void)