Lines Matching refs:nanosDelta
72 int64_t nanosDelta = nanoTime - mMarkerNanoTime; in processTimestamp() local
73 if (nanosDelta < 1000) { in processTimestamp()
97 if (nanosDelta < expectedNanosDelta) { in processTimestamp()
105 if (nanosDelta < expectedNanosDelta) { in processTimestamp()
112 } else if (nanosDelta > (expectedNanosDelta + mMaxLatenessInNanos)) { in processTimestamp()
146 int64_t IsochronousClockModel::convertDeltaTimeToPosition(int64_t nanosDelta) const { in convertDeltaTimeToPosition()
147 return (mSampleRate * nanosDelta) / AAUDIO_NANOS_PER_SECOND; in convertDeltaTimeToPosition()
157 int64_t nanosDelta = convertDeltaPositionToTime(framesDelta); in convertPositionToTime() local
158 int64_t time = mMarkerNanoTime + nanosDelta; in convertPositionToTime()
169 int64_t nanosDelta = nanoTime - mMarkerNanoTime; in convertTimeToPosition() local
170 int64_t framesDelta = convertDeltaTimeToPosition(nanosDelta); in convertTimeToPosition()