when I call MidiInput::getDevices() my Midi Device is Called “MyDevice MIDI: MyDevice MIDI MIDI 1”. When I open a AudioDeviceSelectorComponent it lists the Device as “MyDevice MIDI MIDI 1” (without “MyDevice MIDI:”), and writes it like that in the xml (as i want too). But If I load this xml, its not working, it needs “MyDevice MIDI: MyDevice MIDI MIDI 1” in the xml! If I change it by hand (Add “MyDevice MIDI:” by hand in the xml) it works again.
aplaymidi -l gives
Port Client name Port name
14:0 Midi Through Midi Through Port-0
28:0 MyDevice MIDI MyDevice MIDI MIDI 1
So it seems like on time it is taking client and port name, and one time just the portname.