Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/midi/
DMidiTestManager.cpp59 #define makeMIDICmd(cmd, channel) (uint8_t)((cmd << 4) | (channel & 0x0F)) macro
61 uint8_t warmupMsg[] = {makeMIDICmd(kMIDIChanCmd_Control, 0), 0, 0};
62 uint8_t msg0[] = {makeMIDICmd(kMIDIChanCmd_KeyDown, 0), 64, 120};
63 uint8_t msg1[] = {makeMIDICmd(kMIDIChanCmd_KeyUp, 0), 64, 35};
283 if (totalNumReceived == 0 && readBuffer[0] != makeMIDICmd(kMIDIChanCmd_Control, 0)) { in ProcessInput()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DMidiJavaTestActivity.java125 private static byte makeMIDICmd(int cmd, int channel) { in makeMIDICmd() method in MidiJavaTestActivity
181 private byte[] mWarmUpMsg = {makeMIDICmd(MIDICMD_CONTROL, 0), 0, 0};
257 mTestMessages[0].mMsgBytes = new byte[]{makeMIDICmd(MIDICMD_NOTEON, 0), 64, 12}; in setupTestMessages()
261 mTestMessages[1].mMsgBytes = new byte[]{makeMIDICmd(MIDICMD_NOTEOFF, 0), 73, 65}; in setupTestMessages()
445 if (mReceiveStreamPos == 0 && msg[offset] != makeMIDICmd(MIDICMD_CONTROL, 0)) { in onSend()