Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java58 int minBufferSizeBytes = AudioTrack.getMinBufferSize(frameRate, in createAudioTrack() local
60 Log.i(TAG, "AudioTrack.minBufferSize = " + minBufferSizeBytes in createAudioTrack()
61 + " bytes = " + (minBufferSizeBytes / BYTES_PER_FRAME) in createAudioTrack()
63 int bufferSize = 8 * minBufferSizeBytes / 8; in createAudioTrack()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java58 int minBufferSizeBytes = AudioTrack.getMinBufferSize(frameRate, in createAudioTrack() local
60 Log.i(TAG, "AudioTrack.minBufferSize = " + minBufferSizeBytes in createAudioTrack()
61 + " bytes = " + (minBufferSizeBytes / BYTES_PER_FRAME) in createAudioTrack()
63 int bufferSize = 8 * minBufferSizeBytes / 8; in createAudioTrack()