Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DEnvelopeADSR.java38 private int mSstate = IDLE; field in EnvelopeADSR
72 mSstate = ATTACK; in on()
76 mSstate = RELEASE; in off()
81 switch (mSstate) { in render()
86 mSstate = DECAY; in render()
93 mSstate = SUSTAIN; in render()
100 mSstate = FINISHED; in render()
108 return mSstate == FINISHED; in isDone()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DEnvelopeADSR.java38 private int mSstate = IDLE; field in EnvelopeADSR
72 mSstate = ATTACK; in on()
76 mSstate = RELEASE; in off()
81 switch (mSstate) { in render()
86 mSstate = DECAY; in render()
93 mSstate = SUSTAIN; in render()
100 mSstate = FINISHED; in render()
108 return mSstate == FINISHED; in isDone()