commit | 3c7f47af94767f98e62ba3d6b2414d6a0a4d0742 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Mar 16 17:30:09 2021 -0700 |
committer | Andy Hung <hunga@google.com> | Wed Mar 17 16:32:15 2021 -0700 |
tree | a8529717cabd2ded4e10672bd46a92c455cf18dd | |
parent | 92d528e49a88216bf709e7b4562d00a9f25900a8 [diff] |
AudioTrack: get/setStartThresholdInFrames setStartThresholdInFrames is used to set the start threshold in frames for streaming AudioTrack playback. Normally this is the entire buffer capacity in frames but may be reduced for low latency playback, compressed formats, and direct tracks. Test: atest AudioTrackTest#testStartThresholdInFrames Test: atest AudioTrackTest#testStartThresholdInFramesExceptions Bug: 183003720 Change-Id: Iae10764130160de2380477134df27c5b139468bc