Home
last modified time | relevance | path

Searched refs:deltaFrames (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java426 final long deltaFrames = frames - mLastFrames; in add() local
429 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()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_callback.cpp48 int64_t deltaFrames = framesWritten - presentationPosition; in measureLatency() local
49 if (deltaFrames < 0) { in measureLatency()
51 (long long)(-deltaFrames)); in measureLatency()
54 int64_t calculatedDeltaNanos = deltaFrames * NANOS_PER_SECOND / sampleRate; in measureLatency()