Searched refs:estimatedTimeMs (Results 1 – 1 of 1) sorted by relevance
186 final long estimatedTimeMs = unconsumedFrames * 1000 / mSampleRateInHz; in getAudioLengthMs() local188 return estimatedTimeMs; in getAudioLengthMs()262 final long estimatedTimeMs = (lengthInFrames * 1000 / mSampleRateInHz); in blockUntilEstimatedCompletion() local264 if (DBG) Log.d(TAG, "About to sleep for: " + estimatedTimeMs + "ms for a short utterance"); in blockUntilEstimatedCompletion()267 Thread.sleep(estimatedTimeMs); in blockUntilEstimatedCompletion()283 final long estimatedTimeMs = ((lengthInFrames - currentPosition) * 1000) / in blockUntilCompletion() local285 final long sleepTimeMs = clip(estimatedTimeMs, MIN_SLEEP_TIME_MS, MAX_SLEEP_TIME_MS); in blockUntilCompletion()