MCPcopy Create free account
hub / github.com/LMMS/lmms / useDetected

Method useDetected

src/gui/ControllerConnectionDialog.cpp:94–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94 void useDetected()
95 {
96 m_midiPort.setInputChannel( m_detectedMidiChannel );
97 m_midiPort.setInputController( m_detectedMidiController );
98
99 const MidiPort::Map& map = m_midiPort.readablePorts();
100 for( MidiPort::Map::ConstIterator it = map.begin(); it != map.end(); ++it )
101 {
102 m_midiPort.subscribeReadablePort( it.key(),
103 m_detectedMidiPort.isEmpty() || ( it.key() == m_detectedMidiPort ) );
104 }
105 }
106
107
108public slots:

Callers 1

midiValueChangedMethod · 0.80

Calls 6

keyMethod · 0.80
readablePortsMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
subscribeReadablePortMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected