commit | 0be9192fb5def6ff2c46a3ec9fe68bd4d859aa14 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Wed May 29 13:15:08 2024 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed May 29 13:25:13 2024 -0700 |
tree | 42206f7d983431335529cb7f79d773b9f29db2fc | |
parent | 1ba5fd291088468085173ab89636a6adde95f1f4 [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 Change-Id: Ic2ed15343f494f346de70af0f6d22fd59a3a81d7