Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/core/
DAudioStream.cpp116 int64_t durationNanos = 20 * AAUDIO_NANOS_PER_MILLISECOND; // arbitrary in waitForStateChange() local
119 if (durationNanos > timeoutNanoseconds) { in waitForStateChange()
120 durationNanos = timeoutNanoseconds; in waitForStateChange()
122 AudioClock::sleepForNanos(durationNanos); in waitForStateChange()
123 timeoutNanoseconds -= durationNanos; in waitForStateChange()