Searched refs:curLocation (Results 1 – 1 of 1) sorted by relevance
239 int curLocation = 0; in encode() local240 while (curLocation < size) { in encode()241 if (midiBytes[curLocation] >= 0) { // Data byte in encode()244 midiBytes[curLocation]; in encode()253 writeSingleByte(outputStream, midiBytes[curLocation]); in encode()255 curLocation++; in encode()257 } else if (midiBytes[curLocation] != SYSEX_END_EXCLUSIVE) { in encode()270 if (midiBytes[curLocation] < FIRST_SYSTEM_MESSAGE_VALUE) { // Channel message in encode()271 byte codeIndexNumber = (byte) ((midiBytes[curLocation] >> 4) & 0x0f); in encode()273 if (curLocation + channelMessageSize <= size) { in encode()[all …]