| commit | c16463885b106429146b6f89fbde6ef8eb372538 | [log] [tgz] |
|---|---|---|
| author | Andy Hung <hunga@google.com> | Tue Apr 30 16:12:10 2019 -0700 |
| committer | Andy Hung <hunga@google.com> | Thu May 02 17:58:01 2019 -0700 |
| tree | 0aa0b84eb018ea03d45a6add10d7ee2de4a79714 | |
| parent | ef7eaaf8d873e9d832673fd0a8e07371fa47a0a0 [diff] |
AudioFlinger: Properly account for underruns
When the mixer status was MIXER_ENABLED twice in a row
zeroes were forced to the audio sink.
Test: aaudio test write_sine_callback -pl -n1 -r44100 -s20
and then use rapid volume changes.
Bug: 131767115
Change-Id: I24b41084138210c63e8c551ae4a5f3adddb9e607