Merge "audio: Fix Effect worker thread" into udc-qpr-dev
This commit is contained in:
commit
38b3a2b393
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