I want to send a simple midi signal to be sent from my program to a digital audio workstation.
But I have my problems with reading out the name of available midi devices already :/
I want to use midiOutGetDevCaps(myDdeviceID, &myMidiOutCaps, bytesToRead);
Which should store the midi device information in the MIDIOUTCAPS object.
But when I cout in the console window myMidiOutCaps.szPname I only get 8 numbers returned instead of the name of the midi device...
I defined:
int myDdeviceID = 1; // Just for testing
int bytesToRead = sizeof(MIDIOUTCAPS);
MIDIOUTCAPS myMidiOutCaps;