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);
147 return (AAUDIO_NANOS_PER_SECOND * framesDelta) / mSampleRate; in convertDeltaPositionToTime()151 return (mSampleRate * nanosDelta) / AAUDIO_NANOS_PER_SECOND; in convertDeltaTimeToPosition()
328 * AAUDIO_NANOS_PER_SECOND in requestStart()344 * AAUDIO_NANOS_PER_SECOND) in calculateReasonableTimeout()469 int64_t rate = (framesDelta * AAUDIO_NANOS_PER_SECOND) / nanosDelta; in logTimestamp()
53 mBurstPeriod = AAUDIO_NANOS_PER_SECOND * framesPerBurst / sampleRate; in setBurstPeriod()
113 * AAUDIO_NANOS_PER_SECOND in startSharingThread_l()