diff options
author | David Robillard <d@drobilla.net> | 2016-10-02 23:01:26 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-02 23:01:26 -0400 |
commit | 05d89a68915df359fb50eae7e9a8e44a8bde7e7b (patch) | |
tree | d385eb39191dbe189b883bf5d553ec97bd0d43e3 | |
parent | f72958737b63f5179552ce30cdb98e2785519023 (diff) | |
download | ingen-05d89a68915df359fb50eae7e9a8e44a8bde7e7b.tar.gz ingen-05d89a68915df359fb50eae7e9a8e44a8bde7e7b.tar.bz2 ingen-05d89a68915df359fb50eae7e9a8e44a8bde7e7b.zip |
Fix MIDI I/O
-rw-r--r-- | src/server/InputPort.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 7e7412cc..71fd69e4 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -155,7 +155,9 @@ InputPort::pre_process(RunContext& context) update_set_state(context, v); // Prepare for write in case a set event executes this cycle - buffer(v)->prepare_write(context); + if (!_parent->path().is_root()) { + buffer(v)->prepare_write(context); + } } } else if (direct_connect()) { // Directly connected, use source's buffer directly |