Merge "audio: Fix Effect worker thread" into udc-qpr-dev

This commit is contained in:
Shunkai Yao 2023-09-23 00:20:26 +00:00 committed by Android (Google) Code Review
commit 38b3a2b393

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;