summaryrefslogtreecommitdiffstats
path: root/src/engine/OutputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/OutputPort.cpp')
-rw-r--r--src/engine/OutputPort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/OutputPort.cpp b/src/engine/OutputPort.cpp
index 30d29fa0..4524805f 100644
--- a/src/engine/OutputPort.cpp
+++ b/src/engine/OutputPort.cpp
@@ -34,7 +34,7 @@ OutputPort::OutputPort(BufferFactory& bufs,
const string& name,
uint32_t index,
uint32_t poly,
- DataType type,
+ PortType type,
const Raul::Atom& value,
size_t buffer_size)
: PortImpl(bufs, parent, name, index, poly, type, value, buffer_size)
@@ -42,7 +42,7 @@ OutputPort::OutputPort(BufferFactory& bufs,
if (!dynamic_cast<Patch*>(parent))
add_property("rdf:type", Raul::Atom(Raul::Atom::URI, "lv2:OutputPort"));
- if (type == DataType::CONTROL)
+ if (type == PortType::CONTROL)
_broadcast = true;
}