From dba684181544736c63756cd80cceaf7745ffbdc3 Mon Sep 17 00:00:00 2001 From: "rob@marotori.com" Date: Mon, 9 Jul 2012 10:59:48 +0000 Subject: [PATCH] Fix to random stop of audio queue. Issue caused by 'random' deny on reading sdcard causing queue to exit in 'dead' state. --- src/ersky9x/audio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ersky9x/audio.cpp b/src/ersky9x/audio.cpp index 5a85be37b..3ea480177 100644 --- a/src/ersky9x/audio.cpp +++ b/src/ersky9x/audio.cpp @@ -221,6 +221,8 @@ void AudioQueue::wakeup() } else { result = FR_DENIED; + state = AUDIO_SLEEPING; + toneStop(); } } }