Searched refs:audioTimestampPoller (Results 1 – 1 of 1) sorted by relevance
139 @Nullable private AudioTimestampPoller audioTimestampPoller; field in AudioTrackPositionTracker198 audioTimestampPoller = new AudioTimestampPoller(audioTrack); in setAudioTrack()220 AudioTimestampPoller audioTimestampPoller = Assertions.checkNotNull(this.audioTimestampPoller); in getCurrentPositionUs() local221 if (audioTimestampPoller.hasTimestamp()) { in getCurrentPositionUs()223 long timestampPositionFrames = audioTimestampPoller.getTimestampPositionFrames(); in getCurrentPositionUs()225 if (!audioTimestampPoller.isTimestampAdvancing()) { in getCurrentPositionUs()228 long elapsedSinceTimestampUs = systemTimeUs - audioTimestampPoller.getTimestampSystemTimeUs(); in getCurrentPositionUs()250 Assertions.checkNotNull(audioTimestampPoller).reset(); in start()348 Assertions.checkNotNull(audioTimestampPoller).reset(); in pause()362 audioTimestampPoller = null; in reset()[all …]