commit | 8065bfd2de9b7c7c8e6cb344866c69c0d77538ca | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Mar 25 14:59:49 2024 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Mar 27 14:58:57 2024 -0700 |
tree | f9ef2191a3e60108d7787dd61d16b40a7901b0f5 | |
parent | 28053ab7e14a22d467a632036fd7ba0c8762fa35 [diff] |
libaudiohal@aidl: Fix callbacks handling - Ensure that 'StreamOutHalInterface' slice pointer is used by all parties. - Handle state changes in StreamHalAidl. - Pace stream state queries by the buffer duration (for sync modes) or by a fixed amount (for async) and allow it in any state and from any thread. Bug: 300416194 Bug: 331300943 Test: mp3 and ogg offloaded playback (bug repro steps) Change-Id: I953cfc8862aa466d17f7992df052b7b68fb97e0a