| commit | d87a53a327c7e4af6a1ec508d7f70579fe99ae63 | [log] [tgz] |
|---|---|---|
| author | Andy Hung <hunga@google.com> | Wed Jan 19 16:56:17 2022 -0800 |
| committer | Andy Hung <hunga@google.com> | Thu Jan 20 08:51:29 2022 -0800 |
| tree | b1d3f37fc9eea375b4461c78b11229f9fb4e672d | |
| parent | 9108886b3f9ee2a49a6a83ea1846694e832eec83 [diff] |
AudioTrack: Refine the wait for volume ramp on pause
This avoids pop due to a flush immediately after pause
done by MediaPlayer.
Test: Play YT Music, adjust notification volume in settings and
see if there is a pop at the end of playback.
Bug: 202376326
Change-Id: I8bfede65bd4e8daa721d25af1ade44382937df95