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:
Treehugger Robot 2023-09-22 19:47:26 +00:00 committed by Automerger Merge Worker
commit d2a71839bd

View file

@ -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;