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
This commit is contained in:
Miika Pekkarinen 2005-08-21 18:38:27 +00:00
parent 8a7d104a35
commit b2e94eff7f

View file

@ -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: