commit | 6ed595c8fd85f69bcada7f8b8374e77611c843f6 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri May 31 16:16:03 2024 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri May 31 16:16:03 2024 +0000 |
tree | 8d018ce3021a029e49090cc62725de0f97b7a21b | |
parent | b56deb051f87b4466b728f9324b9ae4f587a06db [diff] |
libaudiohal@aidl: Fix handling of transient patch updates There are cases when the framework opens a stream for one device, and then issues a "create patch" command with AUDIO_PATCH_HANDLE_NONE, and a different device. In that case the mapper must match the patch using the mix port handle, and then send a patch update command to the HAL. Bug: 341326679 Test: atest CoreAudioHalAidlTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0be9192fb5def6ff2c46a3ec9fe68bd4d859aa14) Merged-In: Ic2ed15343f494f346de70af0f6d22fd59a3a81d7 Change-Id: Ic2ed15343f494f346de70af0f6d22fd59a3a81d7