Home | History | Annotate | Download | only in synth

Lines Matching defs:mCurrent

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