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