Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f9438b4 authored by Jaideep Sharma's avatar Jaideep Sharma Committed by Cherrypicker Worker
Browse files

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
parent b537e909
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment