Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.cpp371 int64_t timeLeftNanos = timeoutNanoseconds; in waitForStateChange() local
388 if (sleepTimeNanos > timeLeftNanos){ in waitForStateChange()
389 sleepTimeNanos = timeLeftNanos; in waitForStateChange()
392 timeLeftNanos -= sleepTimeNanos; in waitForStateChange()
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAudioStreamAAudio.cpp459 int64_t timeLeftNanos = timeoutNanoseconds; in waitForStateChange() local
500 if (timeLeftNanos <= 0) { in waitForStateChange()
506 if (sleepTimeNanos > timeLeftNanos) { in waitForStateChange()
507 sleepTimeNanos = timeLeftNanos; // last little bit in waitForStateChange()
510 timeLeftNanos -= sleepTimeNanos; in waitForStateChange()