flower
1
When diving a bit in the code, I’m able to find where the code is for a particular subject, like MIDIClient init (ALSA).
Sclang is ‘calling’ the c++ code? How does this work in general terms?
A contributor needs to change the c++ and the sc code, or is there more to it?
Primitives – for example:
*prInitClient {
_InitMIDIClient
^this.primitiveFailed
}
AlsaMIDI.cpp, near the end:
definePrimitive(base, index++, "_InitMIDIClient", prInitMIDIClient, 1, 0);
Then find prInitMIDIClient()
(in the same file, generally).
hjh
1 Like