Searched refs:systemTimeUs (Results 1 – 3 of 3) sorted by relevance
62 long systemTimeUs, in onPositionFramesMismatch() argument79 long systemTimeUs, in onSystemTimeUsMismatch() argument219 long systemTimeUs = System.nanoTime() / 1000; in getCurrentPositionUs() local228 long elapsedSinceTimestampUs = systemTimeUs - audioTimestampPoller.getTimestampSystemTimeUs(); in getCurrentPositionUs()239 positionUs = systemTimeUs + smoothedPlayheadOffsetUs; in getCurrentPositionUs()371 long systemTimeUs = System.nanoTime() / 1000; in maybeSampleSyncParams() local372 if (systemTimeUs - lastPlayheadSampleTimeUs >= MIN_PLAYHEAD_OFFSET_SAMPLE_INTERVAL_US) { in maybeSampleSyncParams()374 playheadOffsets[nextPlayheadOffsetIndex] = playbackPositionUs - systemTimeUs; in maybeSampleSyncParams()379 lastPlayheadSampleTimeUs = systemTimeUs; in maybeSampleSyncParams()392 maybePollAndCheckTimestamp(systemTimeUs, playbackPositionUs); in maybeSampleSyncParams()[all …]
120 public boolean maybePollTimestamp(long systemTimeUs) { in maybePollTimestamp() argument121 if (audioTimestamp == null || (systemTimeUs - lastTimestampSampleTimeUs) < sampleIntervalUs) { in maybePollTimestamp()124 lastTimestampSampleTimeUs = systemTimeUs; in maybePollTimestamp()137 } else if (systemTimeUs - initializeSystemTimeUs > INITIALIZING_DURATION_US) { in maybePollTimestamp()
1372 long systemTimeUs, in onPositionFramesMismatch() argument1380 + systemTimeUs in onPositionFramesMismatch()1397 long systemTimeUs, in onSystemTimeUsMismatch() argument1405 + systemTimeUs in onSystemTimeUsMismatch()