diff options
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r-- | src/libs/engine/events/CreatePortEvent.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/engine/events/CreatePortEvent.cpp b/src/libs/engine/events/CreatePortEvent.cpp index 3cdda4d1..7c7d671b 100644 --- a/src/libs/engine/events/CreatePortEvent.cpp +++ b/src/libs/engine/events/CreatePortEvent.cpp @@ -142,13 +142,14 @@ CreatePortEvent::execute(ProcessContext& context) _patch->external_ports(_ports_array); } - if (_driver_port) + if (_driver_port) { if (_type == "ingen:AudioPort") _engine.audio_driver()->add_port(_driver_port); else if (_type == "ingen:MIDIPort") _engine.midi_driver()->add_port(_driver_port); else if (_type == "ingen:OSCPort") cerr << "OSC DRIVER PORT" << endl; + } if (_source) _source->unblock(); |