diff options
author | Eric Laurent <elaurent@google.com> | 2013-10-30 16:57:06 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2013-10-30 16:57:06 -0700 |
commit | 2c3740f01acca69c3e0bcc5e01bb0edc51b6777f (patch) | |
tree | fafcc00b076ae05c67b4cd0d3cd7de406b418c09 /services | |
parent | fd4779740ec3e9e865d5514464df26d015354388 (diff) | |
download | frameworks_av-2c3740f01acca69c3e0bcc5e01bb0edc51b6777f.zip frameworks_av-2c3740f01acca69c3e0bcc5e01bb0edc51b6777f.tar.gz frameworks_av-2c3740f01acca69c3e0bcc5e01bb0edc51b6777f.tar.bz2 |
AudioFlinger: fix duplicating thread standby.
Commit fd47797 fixing issue 11247103 introduced a regression
where the duplicating thread does not exit standby state as
expected. This in turn prevents the tracks sending audio to
other threads to complete their activity cycle normally.
The fix conists in clearing mStandby state also in the specialized
threadLoop_write() method of DuplicatingThread subclass.
Bug: 11451415.
Change-Id: Ie8a92c819a56a2834ea25fa70a8b7b2125721775
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/Threads.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index 9d705f2..b81183c 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -4239,6 +4239,7 @@ ssize_t AudioFlinger::DuplicatingThread::threadLoop_write() for (size_t i = 0; i < outputTracks.size(); i++) { outputTracks[i]->write(mMixBuffer, writeFrames); } + mStandby = false; return (ssize_t)mixBufferSize; } |