Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java49 public void start(int frameRate) { in start() argument
51 mFrameRate = frameRate; in start()
52 mAudioTrack = createAudioTrack(frameRate); in start()
57 public AudioTrack createAudioTrack(int frameRate) { in createAudioTrack() argument
58 int minBufferSizeBytes = AudioTrack.getMinBufferSize(frameRate, in createAudioTrack()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSimpleAudioOutput.java49 public void start(int frameRate) { in start() argument
51 mFrameRate = frameRate; in start()
52 mAudioTrack = createAudioTrack(frameRate); in start()
57 public AudioTrack createAudioTrack(int frameRate) { in createAudioTrack() argument
58 int minBufferSizeBytes = AudioTrack.getMinBufferSize(frameRate, in createAudioTrack()