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

Method midiInReadCallback

interfaces/cs_glue.cpp:772–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772int CsoundCallbackWrapper::midiInReadCallback(CSOUND *csound, void *userData,
773 unsigned char *buf, int nBytes)
774{
775 CsoundMidiInputBuffer buf_(buf, nBytes);
776 int bytesRead;
777
778 (void) csound;
779 ((CsoundCallbackWrapper*) userData)->MidiInputCallback(&buf_);
780 bytesRead = buf_.bufBytes;
781 return bytesRead;
782}
783
784int CsoundCallbackWrapper::midiInCloseCallback(CSOUND *csound, void *userData)
785{

Callers

nothing calls this directly

Calls 1

GetMidiDataMethod · 0.80

Tested by

no test coverage detected