policy_hal: update custom audio policy against OPR1.170521.001_AOSP
Update custom audio policy implementation APIs against below O-AOSP updates. 1. audio policy manager: do not reapply same forced usage Skip systematic audio path and volume reevaluation when the new forced configuration for the selected usage is the same as current one. Bug: 38276985 commit: 8dc87a60e69f462e0382d025c335e45699025b48 Change-Id: Id43a5270c666065e099d02d9e52de86b20cb8039 2. audio policy: always provide a valid device address when opening a stream Treble audio HAL mandates that a valid device address is passed when opening an output or input stream and teh device type requires and address. Bug: 37905534 commit: e301410b8495a3702e21019e92d44ade2a3f81d1 Change-Id: I12f2128120b1bbe8530e8c2428e3e2cba1ba1535 3. audio policy: fix global effect attachment Fix logic for global music effects (e.g Visualizer) attachement to output streams. - Consider only outputs with active music sessions first and then all outputs - Reevaluate effect attachment systematically on music playback start/stop and when outputs are opened/closed - Use the same logic every where. Bug: 33397379 commit: 36829f97c0c547d9c6c918e248071cc616818616 Change-Id: Iabc23bc8a24f36b68942b7f32749c535781497b4 4. audio policy: disable concurrent capture Disable concurrent capture until the corresponding UI is available. Restore preemption for HOTWORD audio source. Bug:36891272 commit: 74708e7c4622d65a7798d5fa9347c55583d347fe Change-Id: I1b6c32c2a76ae0e004e14e46fedd596a8844c0d4 Change-Id: I1d59377e9892350b8f6a33de5640a90c4b6cdc5f
Loading
Please register or sign in to comment