Lines Matching refs:count
40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
50 public int count = 0; field in MidiEventScheduler.MidiEvent
53 private MidiEvent(int count) { in MidiEvent() argument
55 data = new byte[count]; in MidiEvent()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
62 this.count = count; in MidiEvent()
68 for (int i = 0; i < count; i++) { in toString()
78 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, in createScheduledEvent() argument
81 if (count > POOL_EVENT_SIZE) { in createScheduledEvent()
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
88 System.arraycopy(msg, offset, event.data, 0, count); in createScheduledEvent()
89 event.count = count; in createScheduledEvent()