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

Method DisconnectOutput

Source/MidiDevice.cpp:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void MidiDevice::DisconnectOutput()
135{
136 if (mMidiOut)
137 mMidiOut->stopBackgroundThread();
138 mMidiOut.reset();
139 mMidiOut = nullptr;
140 mDeviceOutInfo.name = "";
141 mDeviceOutInfo.identifier = "";
142}
143
144bool MidiDevice::Reconnect()
145{

Callers 3

ExitMethod · 0.80
PollMethod · 0.80
ConnectDeviceMethod · 0.80

Calls 1

resetMethod · 0.80

Tested by

no test coverage detected