9 #include "MidiDevice.h"
10 #include "rtmidi/RtMidi.h"
16 static RtMidiOut midiOutObj;
17 return midiOutObj.getPortCount();
22 static RtMidiIn midiInObj;
23 return midiInObj.getPortCount();
28 static RtMidiIn midiInObj;
29 return midiInObj.getPortName(nPortIndex);
34 static RtMidiOut midiOutObj;
35 return midiOutObj.getPortName(nPortIndex);
40 StringList strRetList;
50 StringList strRetList;
unsigned int GetMidiInPortCount()
Returns the number of Input Midi Ports.
StringList GetMidiInPortNames()
Returns the names of all Midi Input Ports available.
std::string GetMidiOutPortName(unsigned int nPortIndex)
Returns the name of the given Midi Output Port.
StringList GetMidiOutPortNames()
Returns the names of all Midi Output Ports available.
std::string GetMidiInPortName(unsigned int nPortIndex)
Returns the name of the given Midi Input Port.
unsigned int GetMidiOutPortCount()
Returns the number of Output Midi Ports.