Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java33 public static final int BYTES_PER_FRAME = SAMPLES_PER_FRAME * BYTES_PER_SAMPLE; field in SimpleAudioOutput
61 + " bytes = " + (minBufferSizeBytes / BYTES_PER_FRAME) in createAudioTrack()
64 int outputBufferSizeFrames = bufferSize / BYTES_PER_FRAME; in createAudioTrack()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java33 public static final int BYTES_PER_FRAME = SAMPLES_PER_FRAME * BYTES_PER_SAMPLE; field in SimpleAudioOutput
61 + " bytes = " + (minBufferSizeBytes / BYTES_PER_FRAME) in createAudioTrack()
64 int outputBufferSizeFrames = bufferSize / BYTES_PER_FRAME; in createAudioTrack()