Searched refs:AAUDIO_NANOS_PER_SECOND (Results 1 – 5 of 5) sorted by relevance
30 #define AAUDIO_NANOS_PER_SECOND (AAUDIO_NANOS_PER_MILLISECOND * AAUDIO_MILLIS_PER_SECOND) macro40 return (time.tv_sec * AAUDIO_NANOS_PER_SECOND) + time.tv_nsec;56 time.tv_sec = nanoTime / AAUDIO_NANOS_PER_SECOND;58 time.tv_nsec = nanoTime - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);85 time.tv_sec = nanoseconds / AAUDIO_NANOS_PER_SECOND;87 time.tv_nsec = nanoseconds - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
53 mBurstPeriod = AAUDIO_NANOS_PER_SECOND * framesPerBurst / sampleRate; in setBurstPeriod()
113 * AAUDIO_NANOS_PER_SECOND in startSharingThread_l()
215 return (AAUDIO_NANOS_PER_SECOND * framesDelta) / mSampleRate; in convertDeltaPositionToTime()219 return (mSampleRate * nanosDelta) / AAUDIO_NANOS_PER_SECOND; in convertDeltaTimeToPosition()
372 * AAUDIO_NANOS_PER_SECOND in requestStart()388 * AAUDIO_NANOS_PER_SECOND) in calculateReasonableTimeout()524 int64_t rate = (framesDelta * AAUDIO_NANOS_PER_SECOND) / nanosDelta; in logTimestamp()