Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/core/
DAudioStream.cpp285 int64_t durationNanos = 20 * AAUDIO_NANOS_PER_MILLISECOND; // arbitrary in waitForStateChange() local
288 if (durationNanos > timeoutNanoseconds) { in waitForStateChange()
289 durationNanos = timeoutNanoseconds; in waitForStateChange()
291 AudioClock::sleepForNanos(durationNanos); in waitForStateChange()
292 timeoutNanoseconds -= durationNanos; in waitForStateChange()