OutputSetting os = outputSettings[ch-1]; //OutputSettings are 0-indexed
if (os.enabled) {
// MoppyPlayer/Receivers are grouped by COM port
if (os.type.equals(OutputSetting.OutputType.MOPPY)) {
if (!outputPlayers.containsKey(os.comPort)){
outputPlayers.put(os.comPort, new MoppyPlayerOutput(new MoppyCOMBridge(os.comPort)));
}
app.rm.setReceiver(ch, outputPlayers.get(os.comPort));
}
//MIDIPlayer/Receivers are grouped by MIDI output name
else if (os.type.equals(OutputSetting.OutputType.MIDI)) {