Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamBuffered.cpp169 int64_t sleepForNanos; in transfer() local
173 sleepForNanos = (getFramesPerBurst() * kNanosPerSecond) / getSampleRate(); in transfer()
179 sleepForNanos = wakeTimeNanos - timeNow; in transfer()
182 if (sleepForNanos < minSleepTime) { in transfer()
183 sleepForNanos = minSleepTime; in transfer()
187 AudioClock::sleepForNanos(sleepForNanos); in transfer()
DAudioStreamOpenSLES.cpp391 AudioClock::sleepForNanos(sleepTimeNanos); in waitForStateChange()
/third_party/skia/third_party/externals/oboe/src/common/
DAudioClock.h62 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_REALTIME) {
DAudioStream.cpp181 AudioClock::sleepForNanos(burstInNanos); in waitForAvailableFrames()
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAudioStreamAAudio.cpp509 AudioClock::sleepForNanos(sleepTimeNanos); in waitForStateChange()