commit | 914339da0b5146690758c6bafbde6c921fa1e6d9 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Apr 12 17:28:09 2024 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Apr 12 17:39:35 2024 -0700 |
tree | af0e4986d17a3d85a5f2b3869214f87af335a187 | |
parent | 53c1eebd76985e28cbf11efe671ddad4d0e88248 [diff] |
libaudiohal@aidl: Synchronize commands sending Although FMQs implement thread-safe blocking reads and writes, using two queues (one for sending a command, another for receiving a reply) is not an atomic operation by itself. Add synchronization for this pair of operations so that they work as intended. Bug: 333116473 Test: play notification sounds in parallel with music Change-Id: Ia29c6c4698499acc600f9b6fe02befddd5de5326