Searched refs:MidiPortImpl (Results 1 – 3 of 3) sorted by relevance
55 byte[] buffer = new byte[MidiPortImpl.MAX_PACKET_SIZE];68 int packetType = MidiPortImpl.getPacketType(buffer, count);70 case MidiPortImpl.PACKET_TYPE_DATA: {71 int offset = MidiPortImpl.getDataOffset(buffer, count);72 int size = MidiPortImpl.getDataSize(buffer, count);73 long timestamp = MidiPortImpl.getPacketTimestamp(buffer, count);79 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