commit | a2159aa184010c93acfafefddcf894acd50b00d9 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Jul 20 13:01:52 2021 -0700 |
committer | Andy Hung <hunga@google.com> | Tue Jul 20 20:35:15 2021 +0000 |
tree | 389c7bc871939fd836fb0ef1cbe6ae58161419d3 | |
parent | b03bd4e94013cece134d74c26331a216c8cbec13 [diff] |
AudioTrack: Obtain stream type from AudioFlinger This is the correct stream type, not an estimation. Avoids a Binder call which can cause timing glitches. Test: atest AudioTrackTest Test: adb shell dumpsys media.metrics Bug: 192924795 Bug: 193918473 Change-Id: Iefd0a06b8f914ca38918619ceacb5293dd666292