public int SendData(byte[] data, bool editor = false) { if (data == null) { return(-1); } else { return(MidiPlugin.MIDIOUT_SendData(data)); } }
public int GetDeviceCount() { return(MidiPlugin.MIDIOUT_DeviceCount()); }
public int SendMessage(byte command, byte data1, byte data2, bool editor = false) { int rawData = (int)command + ((int)data1 << 8) + ((int)data2 << 16); return(MidiPlugin.MIDIOUT_SendMidiMessage(rawData)); }
public void DisconnectDevices(bool editor = false) { MidiPlugin.MIDIOUT_DisconnectDevices(); }
public string GetDeviceName(int deviceIndex) { return(MidiPlugin.MIDIOUT_DeviceName(deviceIndex)); }
public void DisconnectDevice(int id, bool editor = false) { MidiPlugin.MIDIOUT_DisconnectDevice(id); }
public int ConnectDevice(int deviceIndex, bool editor = false) { return(MidiPlugin.MIDIOUT_ConnectDevice(deviceIndex)); }
public bool Init() { MidiPlugin.Init(); return(true); }
public int PopMessage(out MidiMessage midiMessage, bool editor = false) { return(MidiPlugin.MIDIIN_PopMessage(out midiMessage)); }
public int ConnectDevice(int deviceIndex, bool editor = false) { int result = MidiPlugin.MIDIIN_ConnectDevice(deviceIndex); return(result); }