commit | 81da48d4474b670277b5667c03bb78d10132de3d | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Feb 20 13:57:02 2024 -0800 |
committer | Andy Hung <hunga@google.com> | Tue Feb 20 16:22:24 2024 -0800 |
tree | e6918abe13d4e8bf743cfc176ff113a9df43f9fd | |
parent | c13b7cf2c5c02853173dd2bc5ff8b97257c6a9b9 [diff] |
AudioStreamOut: Align with AudioStreamIn Currenty the MixerThread bypasses AudioStreamOut::getPresentationPosition so inaccuracy in handling is avoided. Fix this to work for the linear PCM case. Test: atest AudioTrackTest (with and without AudioStreamOut usage) Bug: 326134469 Change-Id: I630d1e79bd591e6ce5e99ccec1df094e989be2f1