MCPcopy Create free account
hub / github.com/csound/csound / GetEvent

Method GetEvent

InOut/HaikuMidi.cpp:296–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295
296uint32 MidiIn::GetEvent() {
297 uint32 ev = handler->nextevent;
298 if (!handler) return 0;
299 if (ev != 0) {
300 handler->nextevent = 0;
301 release_sem(handler->midi_in_sem);
302 }
303 return ev;
304}

Callers 1

midi_in_readFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected