Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java31 public static final int SAMPLES_PER_FRAME = 2; field in SimpleAudioOutput
33 public static final int BYTES_PER_FRAME = SAMPLES_PER_FRAME * BYTES_PER_SAMPLE;
DSynthEngine.java42 private static final int SAMPLES_PER_FRAME = 2; field in SynthEngine
46 private float[] mBuffer = new float[FRAMES_PER_BUFFER * SAMPLES_PER_FRAME];
192 voice.mix(mBuffer, SAMPLES_PER_FRAME, 0.25f); in generateBuffer()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java31 public static final int SAMPLES_PER_FRAME = 2; field in SimpleAudioOutput
33 public static final int BYTES_PER_FRAME = SAMPLES_PER_FRAME * BYTES_PER_SAMPLE;
DSynthEngine.java42 private static final int SAMPLES_PER_FRAME = 2; field in SynthEngine
46 private float[] mBuffer = new float[FRAMES_PER_BUFFER * SAMPLES_PER_FRAME];
192 voice.mix(mBuffer, SAMPLES_PER_FRAME, 0.25f); in generateBuffer()