A simple progran which enumerates the MIDI IN and OUT ports present on your system.
#include "../include/manager.h"
using namespace std;
int main() {
cout << "MIDI IN PORTS:" << endl;
}
else
cout << "NO MIDI IN PORTS" << endl;
cout << "MIDI OUT PORTS:" << endl;
}
else
cout << "NO MIDI OUT PORTS" << endl;
cout << endl << endl << "Press ENTER" << endl;
cin.get();
return EXIT_SUCCESS;
}
static unsigned int GetNumMIDIOuts()
Returns the number of MIDI out ports in the system.
static const std::string & GetMIDIInName(unsigned int n)
Returns the system name of the given MIDI in port.
static unsigned int GetNumMIDIIns()
Returns the number of MIDI in ports in the system.
static const std::string & GetMIDIOutName(unsigned int n)
Returns the system name of the given MIDI out port.