commit | 222fdf9571d9aa060460b73db08b739b0b300584 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Mar 22 14:04:54 2024 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Mar 22 14:07:06 2024 -0700 |
tree | 2ef2090363a859c6f6c86ec8f0100de026a243d2 | |
parent | f3f2c24b8ebf7c7839daed1abccb7a39ccbd1220 [diff] |
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 Change-Id: Ic4179d41d569231255f9e497032d369df19ec6ba