Fix to random stop of audio queue.
Issue caused by 'random' deny on reading sdcard causing queue to exit in 'dead' state.
This commit is contained in:
@@ -221,6 +221,8 @@ void AudioQueue::wakeup()
|
||||
}
|
||||
else {
|
||||
result = FR_DENIED;
|
||||
state = AUDIO_SLEEPING;
|
||||
toneStop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user