diff options
author | David Robillard <d@drobilla.net> | 2007-09-19 02:46:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-19 02:46:47 +0000 |
commit | 49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14 (patch) | |
tree | 4b56e8fe9f01b42e269e5423347a7cc0664599ad /src/libs/engine/events/AddPortEvent.cpp | |
parent | cbc7847a12e57176c5bafa9baa007de6865745c7 (diff) | |
download | ingen-49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14.tar.gz ingen-49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14.tar.bz2 ingen-49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14.zip |
More work on dynamic polyphony.
git-svn-id: http://svn.drobilla.net/lad/ingen@721 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/AddPortEvent.cpp')
-rw-r--r-- | src/libs/engine/events/AddPortEvent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/events/AddPortEvent.cpp b/src/libs/engine/events/AddPortEvent.cpp index 1d016c5d..28273815 100644 --- a/src/libs/engine/events/AddPortEvent.cpp +++ b/src/libs/engine/events/AddPortEvent.cpp @@ -154,15 +154,15 @@ AddPortEvent::execute(SampleCount nframes, FrameTime start, FrameTime end) _engine.midi_driver()->add_port(_driver_port); else if (_type == "ingen:osc") cerr << "OSC DRIVER PORT" << endl; + + if (_source) + _source->unblock(); } void AddPortEvent::post_process() { - if (_source) - _source->unblock(); - if (!_patch_port) { const string msg = string("Could not create port - ").append(_path); _responder->respond_error(msg); |