Вопрос

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