MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / DisconnectInput

Method DisconnectInput

Source/MidiDevice.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void 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
134void MidiDevice::DisconnectOutput()
135{

Callers 3

ExitMethod · 0.80
PollMethod · 0.80
ConnectDeviceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected