commit | 48d3115614a78ed3e52ab8118b9127cbabfd141c | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Sat Jul 30 00:10:52 2022 +0000 |
committer | Lorena Torres-Huerta <lorenatorres@google.com> | Tue Aug 30 01:30:19 2022 +0000 |
tree | 405519e6bc2d62d3984a0a63d776baa52697399b | |
parent | 409ce2a665e244a464fe22ec2746da6a1cc648f2 [diff] |
audio: Allow stopping a StreamWorker from the looping thread Enhance the return type of the 'workerCycle' to allow it exiting without inducing an error on the controller side. Also, put StreamWorker into a namespace. Bug: 205884982 Test: atest libaudioaidlcommon_test --iterations Merged-In: I3b27028b10f80f27985040cae8f8b0e6ab63ddad Change-Id: I3b27028b10f80f27985040cae8f8b0e6ab63ddad (cherry picked from commit 5021df71c713a01e619088f741ac88334fb0c25b)