Searched refs:mCurFrameIndex (Results 1 – 2 of 2) sorted by relevance
28 ? std::min(numFrames, numSampleFrames - mCurFrameIndex) in mixAudio()39 outBuff[frameIndex] += data[mCurFrameIndex++] * mGain; in mixAudio()45 outBuff[dstSampleIndex++] += data[mCurFrameIndex] * mLeftGain; in mixAudio()46 outBuff[dstSampleIndex++] += data[mCurFrameIndex++] * mRightGain; in mixAudio()50 if (mCurFrameIndex >= numSampleFrames) { in mixAudio()
42 : mSampleBuffer(sampleBuffer), mCurFrameIndex(0), mIsPlaying(false), mGain(1.0f) { in SampleSource()47 void setPlayMode() { mCurFrameIndex = 0; mIsPlaying = true; } in setPlayMode()48 void setStopMode() { mIsPlaying = false; mCurFrameIndex = 0; } in setStopMode()79 int32_t mCurFrameIndex; variable