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