13
0

Fix MIDI input monitoring without connections

This was seemingly accidentally committed in 07d7e0bf54.
MIDI Monitoring works now with MIDI devices that are not
connected to a Track or Bus.
This commit is contained in:
Robin Gareus 2023-10-31 22:35:05 +01:00
parent 7664b15617
commit a57076d203
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2001,7 +2001,7 @@ PortManager::run_input_meters (pframes_t n_samples, samplecnt_t rate)
assert (!port_is_mine (p.first)); assert (!port_is_mine (p.first));
PortEngine::PortHandle ph = _backend->get_port_by_name (p.first); PortEngine::PortHandle ph = _backend->get_port_by_name (p.first);
if (!ph || !_backend->connected (ph)) { if (!ph) {
continue; continue;
} }