Lines Matching refs:mCurrent
37 private float mCurrent; field in EnvelopeADSR
83 mCurrent += mAttackRate; in render()
84 if (mCurrent > 1.0f) { in render()
85 mCurrent = 1.0f; in render()
90 mCurrent -= mDecayRate; in render()
91 if (mCurrent < mSustainLevel) { in render()
92 mCurrent = mSustainLevel; in render()
97 mCurrent -= mRreleaseRate; in render()
98 if (mCurrent < 0.0f) { in render()
99 mCurrent = 0.0f; in render()
104 return mCurrent; in render()