Searched refs:sleepForNanos (Results 1 – 5 of 5) sorted by relevance
169 int64_t sleepForNanos; in transfer() local173 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()
391 AudioClock::sleepForNanos(sleepTimeNanos); in waitForStateChange()
62 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_REALTIME) {
181 AudioClock::sleepForNanos(burstInNanos); in waitForAvailableFrames()
509 AudioClock::sleepForNanos(sleepTimeNanos); in waitForStateChange()