22 #ifndef __MIDIManager__
23 #define __MIDIManager__
31 #define DEFAULT_MIDI_ARCH "portmidi"
33 #define DEFAULT_MIDI_ARCH "alsa"
52 std::vector<MIDIDevice*> mDevices;
55 static std::vector<MIDIDeviceList*>& DeviceLists(
void)
57 static std::vector<MIDIDeviceList*> sDeviceLists;
68 if (sCurrent)
throw Err(
"Can only have one MIDIManager at a time");
88 if (p==0)
throw Err(
"No MIDIManager current");
109 void Stop(
void) throw(Err);