void addCtrlrMidiMessageToBuffer (MidiBuffer &bufferToAddTo, CtrlrMidiMessage &m) { for (int i=0; i<m.getNumMessages(); i++) { bufferToAddTo.addEvent (m.getReference(i).m, 1); } }
void CtrlrProcessor::addMidiToOutputQueue (const CtrlrMidiMessage &m) { for (int i=0; i<m.getNumMessages(); i++) { m.getReference(i).m.setTimeStamp(i+1); midiCollector.addMessageToQueue (m.getReference(i).m); } }