Searched refs:lengthInFrames (Results 1 – 1 of 1) sorted by relevance
261 final int lengthInFrames = mBytesWritten / mBytesPerFrame; in blockUntilEstimatedCompletion() local262 final long estimatedTimeMs = (lengthInFrames * 1000 / mSampleRateInHz); in blockUntilEstimatedCompletion()274 final int lengthInFrames = mBytesWritten / mBytesPerFrame; in blockUntilCompletion() local280 while ((currentPosition = audioTrack.getPlaybackHeadPosition()) < lengthInFrames && in blockUntilCompletion()283 final long estimatedTimeMs = ((lengthInFrames - currentPosition) * 1000) / in blockUntilCompletion()308 + lengthInFrames); in blockUntilCompletion()