Searched refs:deltaFrames (Results 1 – 2 of 2) sorted by relevance
426 final long deltaFrames = frames - mLastFrames; in add() local429 if (deltaFrames == 0 && deltaTimeNs == 0) return; in add()431 final double deltaFramesNs = (double)deltaFrames * NANOS_PER_SECOND / mSampleRate; in add()439 + ") deltaFrames(" + deltaFrames in add()443 assertTrue(mTag + " timestamp frames should be increasing", deltaFrames >= 0); in add()
48 int64_t deltaFrames = framesWritten - presentationPosition; in measureLatency() local49 if (deltaFrames < 0) { in measureLatency()51 (long long)(-deltaFrames)); in measureLatency()54 int64_t calculatedDeltaNanos = deltaFrames * NANOS_PER_SECOND / sampleRate; in measureLatency()