Lines Matching refs:bufferFramesLeft
47 int64_t bufferFramesLeft = 0, bufferNotifyFrames = DspSimulatorState::kSkipBufferNotifyFrames; in cycle() local
50 mSharedState.bufferFramesLeft = in cycle()
51 mSharedState.bufferFramesLeft > bufferFramesConsumed in cycle()
52 ? mSharedState.bufferFramesLeft - bufferFramesConsumed in cycle()
72 mSharedState.bufferFramesLeft = 0; in cycle()
76 bufferFramesLeft = mSharedState.bufferFramesLeft; in cycle()
78 if (bufferFramesLeft <= bufferNotifyFrames) { in cycle()
83 if (bufferFramesLeft <= bufferNotifyFrames) { in cycle()
84 LOG(DEBUG) << __func__ << ": sending onBufferStateChange: " << bufferFramesLeft; in cycle()
85 mSharedState.callback->onBufferStateChange(bufferFramesLeft); in cycle()
140 mState.bufferFramesLeft = 0; in flush()
209 mState.bufferFramesLeft = *actualFrameCount; in transfer()