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

Skip to content
Commit b537e909 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Cherrypicker Worker
Browse files

libaudiohal: Respect channel count when setting hw gain

The AIDL contract requires passing a gain value per channel.
The legacy API was using a single gain value for input,
and stereo gain for output. Adapt these to the actual channel
count.

Bug: 326853618
Test: m
(cherry picked from https://android-review.googlesource.com/q/commit:222fdf9571d9aa060460b73db08b739b0b300584)
Merged-In: Ic4179d41d569231255f9e497032d369df19ec6ba
Change-Id: Ic4179d41d569231255f9e497032d369df19ec6ba
parent 5c0ed421
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