13
0

MIDI tracer: don't update ports if audio engine is not running when ports_changed() is called

This commit is contained in:
Paul Davis 2024-06-21 13:58:30 -06:00
parent b91e9fbe64
commit 0e7a5235e1

View File

@ -166,6 +166,10 @@ MidiTracer::ports_changed ()
_midi_port_list->clear ();
if (!AudioEngine::instance()->running()) {
return;
}
PortManager::PortList pl;
AudioEngine::instance()->get_ports (DataType::MIDI, pl);