Home
last modified time | relevance | path

Searched refs:mGain (Results 1 – 2 of 2) sorted by relevance

/external/oboe/samples/iolib/src/main/cpp/player/
DSampleSource.h42 : mSampleBuffer(sampleBuffer), mCurFrameIndex(0), mIsPlaying(false), mGain(1.0f) { in SampleSource()
68 mGain = gain; in setGain()
73 return mGain; in getGain()
91 float mGain; variable
97 mRightGain = rightPan * mGain; in calcGainFactors()
98 mLeftGain = (1.0 - rightPan) * mGain; } in calcGainFactors()
DOneShotSampleSource.cpp39 outBuff[frameIndex] += data[mCurFrameIndex++] * mGain; in mixAudio()