summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OutputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/OutputPort.cpp')
-rw-r--r--src/libs/engine/OutputPort.cpp13
1 files changed, 13 insertions, 0 deletions
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)