Lines Matching refs:framesOut
5384 size_t framesOut = activeTrack->mSink.frameCount; in threadLoop() local
5385 LOG_ALWAYS_FATAL_IF((status == OK) != (framesOut > 0)); in threadLoop()
5405 if (framesOut == 0 || framesIn == 0) { in threadLoop()
5411 if (framesIn > framesOut) { in threadLoop()
5412 framesIn = framesOut; in threadLoop()
5414 framesOut = framesIn; in threadLoop()
5437 activeTrack->mRsmpInFront += framesOut; in threadLoop()
5450 framesInNeeded = ceil(framesOut * in / out) + 1; in threadLoop()
5452 framesInNeeded, framesOut, in / out); in threadLoop()
5460 framesIn, framesInNeeded, framesOut, in / out); in threadLoop()
5462 LOG_ALWAYS_FATAL_IF(newFramesOut >= framesOut); in threadLoop()
5473 framesOut = newFramesOut; in threadLoop()
5477 framesIn, framesInNeeded, framesOut, in / out); in threadLoop()
5481 if (activeTrack->mRsmpOutFrameCount < framesOut) { in threadLoop()
5485 activeTrack->mRsmpOutBuffer = new int32_t[framesOut * FCC_2]; in threadLoop()
5486 activeTrack->mRsmpOutFrameCount = framesOut; in threadLoop()
5490 memset(activeTrack->mRsmpOutBuffer, 0, framesOut * FCC_2 * sizeof(int32_t)); in threadLoop()
5491 activeTrack->mResampler->resample(activeTrack->mRsmpOutBuffer, framesOut, in threadLoop()
5500 framesOut); in threadLoop()
5504 (const int16_t *)activeTrack->mRsmpOutBuffer, framesOut); in threadLoop()
5507 activeTrack->mRsmpOutBuffer, framesOut); in threadLoop()
5513 if (framesOut > 0 && (overrun == OVERRUN_UNKNOWN)) { in threadLoop()
5518 if (framesOut > 0) { in threadLoop()
5519 activeTrack->mSink.frameCount = framesOut; in threadLoop()
5525 activeTrack->mFramesToDrop -= framesOut; in threadLoop()
5530 activeTrack->mFramesToDrop += framesOut; in threadLoop()
5543 if (framesOut == 0) { in threadLoop()