Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23224a1f authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Android Build Cherrypicker Worker
Browse files

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)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8065bfd2de9b7c7c8e6cb344866c69c0d77538ca)
Merged-In: I953cfc8862aa466d17f7992df052b7b68fb97e0a
Change-Id: I953cfc8862aa466d17f7992df052b7b68fb97e0a
parent 784abf68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment