commit | 4389ae64b8c4af302a4d65ad8e12a02d6def8487 | [log] [tgz] |
---|---|---|
author | Robert Wu <robertwu@google.com> | Thu Feb 17 18:39:41 2022 +0000 |
committer | Robert Wu <robertwu@google.com> | Thu Feb 17 18:52:57 2022 +0000 |
tree | eba56ca689af8728c788f6b9b73d85ef112d9918 | |
parent | b0f71f0b5170d69fca5a8c8ae6f854b1bc4295fd [diff] |
aaudio: clean up MMAP volume TODO onVolumeChanged() passes in a list of channels and an associated volume for each one. However, both the sender (AudioFlinger) and the consumer (AAudio) is not using this efficiently. AudioFlinger simply sets all the volumes as the same value and AAudio simply uses the first value. This CL removes the TODO and cleans up the function parameters. Bug: 220162278 Test: OboeTester Change-Id: I3d8b1ad7228e02e2db6d776af7f5a618fdf50a53