summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-08-21 18:38:27 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-08-21 18:38:27 +0000
commitb2e94eff7fee70c57574610eb03093ddc9ef7985 (patch)
tree92286ab93574b8f10ad1b32fe00013b7ab0eef50
parent8a7d104a359aec7776712cb366d1d92e0f0328a8 (diff)
downloadrockbox-b2e94eff7fee70c57574610eb03093ddc9ef7985.tar.gz
rockbox-b2e94eff7fee70c57574610eb03093ddc9ef7985.tar.bz2
rockbox-b2e94eff7fee70c57574610eb03093ddc9ef7985.zip
Fixed unused codec swapping when voice codec is not playing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7370 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 b80c33f3c4..727dc762ab 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1799,6 +1799,7 @@ void voice_codec_thread(void)
voice_codec_loaded = false;
while (1) {
status = 0;
+ voice_is_playing = false;
queue_wait(&voice_codec_queue, &ev);
switch (ev.id) {
case CODEC_LOAD_DISK: