Lines Matching refs:framesOut
6102 size_t framesOut = buffer.frameCount;
6105 while (framesOut) {
6109 int8_t *dst = buffer.i8 + (buffer.frameCount - framesOut) * mActiveTrack->mCblk->frameSize;
6110 if (framesIn > framesOut)
6111 framesIn = framesOut;
6113 framesOut -= framesIn;
6127 if (framesOut && mFrameCount == mRsmpInIndex) {
6128 if (framesOut == mFrameCount &&
6131 framesOut = 0;
6146 framesOut = 0;
6154 memset(mRsmpOutBuffer, 0, framesOut * 2 * sizeof(int32_t));
6157 framesOut >>= 1;
6159 mResampler->resample(mRsmpOutBuffer, framesOut, this /* AudioBufferProvider* */);
6163 ditherAndClamp(mRsmpOutBuffer, mRsmpOutBuffer, framesOut);
6166 framesOut);
6168 ditherAndClamp((int32_t *)buffer.raw, mRsmpOutBuffer, framesOut);