Searched refs:MidiPortImpl (Results 1 – 3 of 3) sorted by relevance
55 byte[] buffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];66 int packetType = MidiPortImpl.getPacketType(buffer, count);68 case MidiPortImpl.PACKET_TYPE_DATA: {69 int offset = MidiPortImpl.getDataOffset(buffer, count);70 int size = MidiPortImpl.getDataSize(buffer, count);71 long timestamp = MidiPortImpl.getPacketTimestamp(buffer, count);77 case MidiPortImpl.PACKET_TYPE_FLUSH:
48 private final byte[] mBuffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];52 super(MidiPortImpl.MAX_PACKET_DATA_SIZE); in MidiInputPort()80 if (count > MidiPortImpl.MAX_PACKET_DATA_SIZE) { in onSend()88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer); in onSend()99 int length = MidiPortImpl.packFlush(mBuffer); in onFlush()
23 /* package */ class MidiPortImpl { class