Home
last modified time | relevance | path

Searched refs:sleepForNanos (Results 1 – 5 of 5) sorted by relevance

/external/oboe/src/opensles/
DAudioStreamBuffered.cpp184 int64_t sleepForNanos; in transfer() local
188 sleepForNanos = (getFramesPerBurst() * kNanosPerSecond) / getSampleRate(); in transfer()
194 sleepForNanos = wakeTimeNanos - timeNow; in transfer()
197 if (sleepForNanos < minSleepTime) { in transfer()
198 sleepForNanos = minSleepTime; in transfer()
202 AudioClock::sleepForNanos(sleepForNanos); in transfer()
DAudioStreamOpenSLES.cpp393 AudioClock::sleepForNanos(sleepTimeNanos); in waitForStateChange()
/external/oboe/src/common/
DAudioClock.h62 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_REALTIME) {
DAudioStream.cpp181 AudioClock::sleepForNanos(burstInNanos); in waitForAvailableFrames()
/external/oboe/src/aaudio/
DAudioStreamAAudio.cpp534 AudioClock::sleepForNanos(sleepTimeNanos); in waitForStateChange()