commit | 31cd3cc6e78cef0ce81fa26bed778d9f797f916c | [log] [tgz] |
---|---|---|
author | Jaideep Sharma <quic_jaidshar@quicinc.com> | Thu May 02 12:43:26 2024 +0530 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri May 03 18:19:30 2024 +0000 |
tree | 48aa6e9db58b329cb360303f1be67245db284298 | |
parent | 2384909dfa73fbd8330f06c43c4d12aa183a265c [diff] |
av: Fix volume count sent to HAL Use audio_channel_count_from_out_mask to properly calculate the channel count from the mask, so a valid volume array can be sent to audio hal. Test: play a clip check volume array sent to hal Bug: 326853618 (cherry picked from https://android-review.googlesource.com/q/commit:f4fc9eefcbf2b7fc9758686f12e3417edafbe368) Merged-In: I59b815f8f4eb16b4aeb2941330b023320adf95e2 Change-Id: I59b815f8f4eb16b4aeb2941330b023320adf95e2