Merge "audio: Fix Effect worker thread" into main am: 542110eebe
am: b616f1844b
am: 47566912ef
am: 62d5cbebf7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2757106 Change-Id: I2ea8600331a8b1aa23a9b9329649c221a16619a8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d2a71839bd
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ RetCode EffectThread::createThread(std::shared_ptr<EffectContext> context, const
|
|||
mPriority = priority;
|
||||
{
|
||||
std::lock_guard lg(mThreadMutex);
|
||||
mStop = true;
|
||||
mExit = false;
|
||||
mThreadContext = std::move(context);
|
||||
auto statusMQ = mThreadContext->getStatusFmq();
|
||||
EventFlag* efGroup = nullptr;
|
||||
|
|
Loading…
Reference in a new issue