forked from len0rd/rockbox
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;
|
voice_codec_loaded = false;
|
||||||
while (1) {
|
while (1) {
|
||||||
status = 0;
|
status = 0;
|
||||||
|
voice_is_playing = false;
|
||||||
queue_wait(&voice_codec_queue, &ev);
|
queue_wait(&voice_codec_queue, &ev);
|
||||||
switch (ev.id) {
|
switch (ev.id) {
|
||||||
case CODEC_LOAD_DISK:
|
case CODEC_LOAD_DISK:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue