Searched refs:timestamp1 (Results 1 – 2 of 2) sorted by relevance
302 private double calculateSampleRate(AudioTimestamp timestamp1, AudioTimestamp timestamp2) { in calculateSampleRate() argument303 long elapsedFrames = timestamp2.framePosition - timestamp1.framePosition; in calculateSampleRate()304 long elapsedNanos = timestamp2.nanoTime - timestamp1.nanoTime; in calculateSampleRate()
1365 SimpleTimestampListener.TimestampHolder timestamp1 =1369 Math.max(0, timestamp1.mTimestamp - timestamp1.mDeliveryTime) / 1000000;1372 (timestamp1.mDeliveryTime - timestamp1.mTimestamp) / 1000000;1380 long presentTime1 = Math.max(timestamp1.mDeliveryTime, timestamp1.mTimestamp);1395 (timestamp1.mDeliveryTime - timestamp1.mTimestamp) / 1000000;1397 timestamp1 = timestamp2;