commit | 56ecf3e3ce36d111a17d67485047836660128629 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Mon Mar 12 15:38:17 2018 -0700 |
committer | Phil Burk <philburk@google.com> | Wed Mar 21 01:14:13 2018 +0000 |
tree | 79a1a5a3992f0bb116d3d2e8473c1e76b84034e2 | |
parent | 553a1a42fceba2f5315238355de2b20687185160 [diff] |
audioflinger: only update mHalVolFloat on success This will fix a regression with AAudio MMAP stream not getting its initial volume set correctly. Also initialize mHalVolFloat. Bug: 74547253 Test: adb shell write_sine_callback -pl -s10 -m1 Test: should have the same initial volume as Test: adb shell write_sine_callback -pl -s10 -m3 Change-Id: Ie0c1f9ba51e2059a888d2273f41588f101b09a5c