Home
last modified time | relevance | path

Searched refs:mBuffer (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiFramer.java35 private byte[] mBuffer = new byte[3]; field in MidiFramer
75 mBuffer[0] = currentByte; in onSend()
91 mBuffer[mCount++] = currentByte; in onSend()
94 mBuffer[0] = mRunningStatus; in onSend()
96 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
97 mNeeded = MidiConstants.getBytesPerMessage(mBuffer[0]) - 1; in onSend()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiFramer.java35 private byte[] mBuffer = new byte[3]; field in MidiFramer
75 mBuffer[0] = currentByte; in onSend()
91 mBuffer[mCount++] = currentByte; in onSend()
94 mBuffer[0] = mRunningStatus; in onSend()
96 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend()
97 mNeeded = MidiConstants.getBytesPerMessage(mBuffer[0]) - 1; in onSend()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSynthEngine.java46 private float[] mBuffer = new float[FRAMES_PER_BUFFER * SAMPLES_PER_FRAME]; field in SynthEngine
117 mAudioOutput.write(mBuffer, 0, mBuffer.length); in run()
182 for (int i = 0; i < mBuffer.length; i++) { in generateBuffer()
183 mBuffer[i] = 0.0f; in generateBuffer()
192 voice.mix(mBuffer, SAMPLES_PER_FRAME, 0.25f); in generateBuffer()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSynthEngine.java46 private float[] mBuffer = new float[FRAMES_PER_BUFFER * SAMPLES_PER_FRAME]; field in SynthEngine
117 mAudioOutput.write(mBuffer, 0, mBuffer.length); in run()
182 for (int i = 0; i < mBuffer.length; i++) { in generateBuffer()
183 mBuffer[i] = 0.0f; in generateBuffer()
192 voice.mix(mBuffer, SAMPLES_PER_FRAME, 0.25f); in generateBuffer()
/development/apps/Development/src/com/android/development/
DCacheAbuser.java55 final byte[] mBuffer; field in CacheAbuser.AbuseTask
61 mBuffer = quick ? new byte[1024*1024] : new byte[1024]; in AbuseTask()
76 fos.write(mBuffer); in doInBackground()