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
Loading
Please register or sign in to comment