-
Reduce number of calls to AudioTrack.getPlaybackHeadPosition · 0563c432
This call may cause performance overhead in some situations, for example if the AudioTrack needs to query an offload DSP for the current position. We don't need to check this multiple times per doSomeWork iteration as the value is unlikely to change in any meaningful way. PiperOrigin-RevId: 510957116 (cherry picked from commit 829b49d7)
tonihei committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| com/google/android/exoplayer2 | Loading commit data... |