audio: Implement setting name and priority in StreamWorker
Audio threads need to be able to set their priority. Also, traditionally these worker threads set a custom thread name. Implement this functionality in StreamWorker. Since initialization steps can fail, implement simple error reporting via a string field `mError`. The state of the string field replaces the dedicated `ERROR` worker state. Bug: 205884982 Test: atest libaudioaidlcommon_test --iterations Merged-In: Ie9ab94922d47f277a4993a90b478a2fa76657923 Change-Id: Ie9ab94922d47f277a4993a90b478a2fa76657923 (cherry picked from commit e9e0f7c0)
Loading
Please register or sign in to comment