addInput method

dynamic addInput(
  1. int id,
  2. MIDIINCAPS input
)

Implementation

addInput(int id, MIDIINCAPS input) {
  _ins[id] = input;
  inputPorts.add(MidiPort(input.wPid, MidiPortType.IN));
}