From 05d89a68915df359fb50eae7e9a8e44a8bde7e7b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Oct 2016 23:01:26 -0400 Subject: Fix MIDI I/O --- src/server/InputPort.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.1