Home
last modified time | relevance | path

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

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