| 770 | } |
| 771 | |
| 772 | int 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 | |
| 784 | int CsoundCallbackWrapper::midiInCloseCallback(CSOUND *csound, void *userData) |
| 785 | { |
nothing calls this directly
no test coverage detected