Lines Matching refs:mBuffer

283     mBuffer.frameCount = 0;  in AudioResampler()
314 mBuffer.frameCount = 0; in reset()
356 while (mBuffer.frameCount == 0) { in resampleStereo16()
357 mBuffer.frameCount = inFrameCount; in resampleStereo16()
358 provider->getNextBuffer(&mBuffer); in resampleStereo16()
359 if (mBuffer.raw == NULL) { in resampleStereo16()
364 if (mBuffer.frameCount > inputIndex) break; in resampleStereo16()
366 inputIndex -= mBuffer.frameCount; in resampleStereo16()
367 mX0L = mBuffer.i16[mBuffer.frameCount*2-2]; in resampleStereo16()
368 mX0R = mBuffer.i16[mBuffer.frameCount*2-1]; in resampleStereo16()
369 provider->releaseBuffer(&mBuffer); in resampleStereo16()
373 int16_t *in = mBuffer.i16; in resampleStereo16()
390 if (inputIndex + 2 < mBuffer.frameCount) { in resampleStereo16()
395 maxInIdx = mBuffer.frameCount - 2; in resampleStereo16()
401 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleStereo16()
412 if (inputIndex >= mBuffer.frameCount) { in resampleStereo16()
413 inputIndex -= mBuffer.frameCount; in resampleStereo16()
417 mX0L = mBuffer.i16[mBuffer.frameCount*2-2]; in resampleStereo16()
418 mX0R = mBuffer.i16[mBuffer.frameCount*2-1]; in resampleStereo16()
419 provider->releaseBuffer(&mBuffer); in resampleStereo16()
452 while (mBuffer.frameCount == 0) { in resampleMono16()
453 mBuffer.frameCount = inFrameCount; in resampleMono16()
454 provider->getNextBuffer(&mBuffer); in resampleMono16()
455 if (mBuffer.raw == NULL) { in resampleMono16()
461 if (mBuffer.frameCount > inputIndex) break; in resampleMono16()
463 inputIndex -= mBuffer.frameCount; in resampleMono16()
464 mX0L = mBuffer.i16[mBuffer.frameCount-1]; in resampleMono16()
465 provider->releaseBuffer(&mBuffer); in resampleMono16()
468 int16_t *in = mBuffer.i16; in resampleMono16()
486 if (inputIndex + 2 < mBuffer.frameCount) { in resampleMono16()
491 maxInIdx = (int32_t)mBuffer.frameCount - 2; in resampleMono16()
497 while (outputIndex < outputSampleCount && inputIndex < mBuffer.frameCount) { in resampleMono16()
509 if (inputIndex >= mBuffer.frameCount) { in resampleMono16()
510 inputIndex -= mBuffer.frameCount; in resampleMono16()
514 mX0L = mBuffer.i16[mBuffer.frameCount-1]; in resampleMono16()
515 provider->releaseBuffer(&mBuffer); in resampleMono16()