| 122 | } |
| 123 | |
| 124 | void MidiDevice::DisconnectInput() |
| 125 | { |
| 126 | auto& deviceManager = TheSynth->GetAudioDeviceManager(); |
| 127 | if (mDeviceInInfo.identifier.isNotEmpty()) |
| 128 | { |
| 129 | deviceManager.setMidiInputDeviceEnabled(mDeviceInInfo.identifier, false); |
| 130 | deviceManager.removeMidiInputDeviceCallback(mDeviceOutInfo.identifier, this); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | void MidiDevice::DisconnectOutput() |
| 135 | { |
no outgoing calls
no test coverage detected