commit | 632b1cd048ad9e0d0ea02bc220841251bafe0946 | [log] [tgz] |
---|---|---|
author | Jaideep Sharma <quic_jaidshar@quicinc.com> | Wed Sep 20 11:43:17 2023 +0530 |
committer | Jaideep Sharma <quic_jaidshar@quicinc.com> | Thu Sep 21 03:11:00 2023 +0000 |
tree | 1066cdb6ac11f0f9bc484e3e40e00b5fee513298 | |
parent | 801c76b13ef4c89325ce0b9c1f4784a13f8c9872 [diff] |
audio: Fix Effect worker thread When a effect is closed and reopened from framework, mExit and mStop states are not reset,that causes threadloop to exit and eventually blocks framework as FMQs are never filled from effects HAL. Reset the state of mExit and mStop on every time when thread is created, so open->close->open kind of scenarios can be handled. Bug: 301214647 Test: run vts-hal-audio Change-Id: If54c8fa62827e5f28e620dd841d638028149b1b8