Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java261 final int lengthInFrames = mBytesWritten / mBytesPerFrame; in blockUntilEstimatedCompletion() local
262 final long estimatedTimeMs = (lengthInFrames * 1000 / mSampleRateInHz); in blockUntilEstimatedCompletion()
274 final int lengthInFrames = mBytesWritten / mBytesPerFrame; in blockUntilCompletion() local
280 while ((currentPosition = audioTrack.getPlaybackHeadPosition()) < lengthInFrames && in blockUntilCompletion()
283 final long estimatedTimeMs = ((lengthInFrames - currentPosition) * 1000) / in blockUntilCompletion()
308 + lengthInFrames); in blockUntilCompletion()