문제

I've started working on a command-line app based on RtMidi that can send arbitrary MIDI data. I've found that, while I can talk to MIDI devices when I run the tool from the console, if I ssh in to my machine from another, I can't get any MIDI functionality to work at all. To be specific, RtMidi makes a call to MIDIClientCreate() which returns error code -10839, which is not documented anywhere that I could find. I've tried duplicating the environment variables of working process, but that didn't work either.

도움이 되었습니까?

해결책

Error code -10839 corresponds to the symbol named kMIDIServerStartErr. I suspect that the CoreMIDI server requires a connection to SystemUIServer (ie, a graphical login).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top