void setOutput(JObject details) { switch (type) { case OutputType.MIDI: var content = details != null ? details : MidiOut.CreateJObject(); output = new MidiOut(content); break; case OutputType.OSC: output = null; break; } if (output != null) { output.OnPropertyUpdate(UpdateProperty); } }
public MidiOutGui(MidiOut parent) { this.parent = parent; InitializeComponent(); this.DataContext = parent; }