Searched refs:mGain (Results 1 – 2 of 2) sorted by relevance
42 : mSampleBuffer(sampleBuffer), mCurFrameIndex(0), mIsPlaying(false), mGain(1.0f) { in SampleSource()68 mGain = gain; in setGain()73 return mGain; in getGain()91 float mGain; variable97 mRightGain = rightPan * mGain; in calcGainFactors()98 mLeftGain = (1.0 - rightPan) * mGain; } in calcGainFactors()
39 outBuff[frameIndex] += data[mCurFrameIndex++] * mGain; in mixAudio()