Home
last modified time | relevance | path

Searched refs:FRAME_RATE (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DEnvelopeADSR.java50 mAttackRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setAttackTime()
56 mDecayRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setDecayTime()
68 mRreleaseRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setReleaseTime()
DSynthEngine.java40 public static final int FRAME_RATE = 48000; field in SynthEngine
112 mAudioOutput.start(FRAME_RATE); in run()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DEnvelopeADSR.java50 mAttackRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setAttackTime()
56 mDecayRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setDecayTime()
68 mRreleaseRate = 1.0f / (SynthEngine.FRAME_RATE * time); in setReleaseTime()
DSynthEngine.java40 public static final int FRAME_RATE = 48000; field in SynthEngine
112 mAudioOutput.start(FRAME_RATE); in run()