diff --git a/libs/ardour/async_midi_port.cc b/libs/ardour/async_midi_port.cc index 23465a238b..7614015a2e 100644 --- a/libs/ardour/async_midi_port.cc +++ b/libs/ardour/async_midi_port.cc @@ -364,7 +364,7 @@ AsyncMIDIPort::add_shadow_port (string const & name, MidiFilter mf) /* shadow port is not async. */ - if (!(shadow_port = boost::dynamic_pointer_cast (AudioEngine::instance()->register_output_port (DataType::MIDI, name, false)))) { + if (!(shadow_port = boost::dynamic_pointer_cast (AudioEngine::instance()->register_output_port (DataType::MIDI, name, false, PortFlags (Shadow|IsTerminal))))) { return -3; }