From 89a9cdf0ab581a4cff5cf8fd859d714a90bb8998 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Oct 2007 17:47:49 +0000 Subject: Fix control port value broadcasting. git-svn-id: http://svn.drobilla.net/lad/ingen@893 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/OutputPort.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/libs/engine/OutputPort.cpp') diff --git a/src/libs/engine/OutputPort.cpp b/src/libs/engine/OutputPort.cpp index 82e23889..a80d1ddf 100644 --- a/src/libs/engine/OutputPort.cpp +++ b/src/libs/engine/OutputPort.cpp @@ -24,6 +24,19 @@ using namespace std; namespace Ingen { + +OutputPort::OutputPort(NodeImpl* parent, + const string& name, + uint32_t index, + uint32_t poly, + DataType type, + size_t buffer_size) + : PortImpl(parent, name, index, poly, type, buffer_size) +{ + if (type == DataType::CONTROL) + _broadcast = true; +} + void OutputPort::pre_process(ProcessContext& context) -- cgit v1.2.1