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:
parent
8a7d104a35
commit
b2e94eff7f
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue