Searched refs:makeMIDICmd (Results 1 – 2 of 2) sorted by relevance
/cts/apps/CtsVerifier/jni/midi/ |
D | MidiTestManager.cpp | 57 #define makeMIDICmd(cmd, channel) (uint8_t)((cmd << 4) | (channel & 0x0F)) macro 270 uint8_t msg0[] = {makeMIDICmd(kMIDIChanCmd_KeyDown, 0), 64, 120}; 272 uint8_t msg1[] = {makeMIDICmd(kMIDIChanCmd_KeyUp, 0), 64, 35};
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | MidiActivity.java | 511 private static byte makeMIDICmd(int cmd, int channel) { in makeMIDICmd() method in MidiActivity 670 mTestMessages[0].mMsgBytes = new byte[]{makeMIDICmd(kMIDICmd_KeyDown, 0), 64, 12}; in setupTestMessages() 674 mTestMessages[1].mMsgBytes = new byte[]{makeMIDICmd(kMIDICmd_KeyDown, 0), 64, 45}; in setupTestMessages() 681 sysExMsg[0] = makeMIDICmd(kMIDICmd_SysEx, 0); in setupTestMessages()
|