MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / panelReceivedMidi

Method panelReceivedMidi

Source/Core/CtrlrPanel/CtrlrPanel.cpp:1048–1060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1046}
1047
1048void CtrlrPanel::panelReceivedMidi(const MidiBuffer &buffer, const CtrlrMIDIDeviceType source)
1049{
1050 MidiBuffer::Iterator i(buffer);
1051 MidiMessage m;
1052 int time;
1053
1054 while (i.getNextEvent(m,time))
1055 {
1056 midiMessageCollector.addMessageToQueue (m);
1057 }
1058
1059 triggerAsyncUpdate();
1060}
1061
1062void CtrlrPanel::handleAsyncUpdate()
1063{

Callers 1

matchMethod · 0.80

Calls 2

getNextEventMethod · 0.80
addMessageToQueueMethod · 0.80

Tested by

no test coverage detected