summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2006-04-20 05:33:53 +0000
committerHardeep Sidhu <dyp@pobox.com>2006-04-20 05:33:53 +0000
commitf635f4a8242b12de5ead18e526a5bc4cb0375663 (patch)
tree9193b39b6cb6bca96fabf94f7cd93bdbe68ae05e
parent37faaab0ee9076660884a436559666ab3fd9b800 (diff)
downloadrockbox-f635f4a8242b12de5ead18e526a5bc4cb0375663.tar.gz
rockbox-f635f4a8242b12de5ead18e526a5bc4cb0375663.tar.bz2
rockbox-f635f4a8242b12de5ead18e526a5bc4cb0375663.zip
Set playing to true immediately when audio_play() is called. Fixes a bug when selecting tracks from playlist viewer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9737 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 18a215cd13..c34f83a4ca 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -2353,6 +2353,7 @@ void audio_play(long offset)
else
stop_codec_flush();
+ playing = true;
queue_post(&audio_queue, Q_AUDIO_PLAY, (void *)offset);
}