summaryrefslogtreecommitdiffstats
path: root/src/engine/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-03 01:08:56 +0000
committerDavid Robillard <d@drobilla.net>2009-06-03 01:08:56 +0000
commitf845aa9eaf46cfa2ad2427b62fa9062e7f6c7934 (patch)
tree4c459af06cb9656f3fcf53752030cbbe7756196b /src/engine/PortImpl.cpp
parent664f3ca29832b7ec0432d1e46c6af901af68f574 (diff)
downloadingen-f845aa9eaf46cfa2ad2427b62fa9062e7f6c7934.tar.gz
ingen-f845aa9eaf46cfa2ad2427b62fa9062e7f6c7934.tar.bz2
ingen-f845aa9eaf46cfa2ad2427b62fa9062e7f6c7934.zip
Move events to their own namespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2068 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/PortImpl.cpp')
-rw-r--r--src/engine/PortImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp
index 64dbf511..f88a5bc2 100644
--- a/src/engine/PortImpl.cpp
+++ b/src/engine/PortImpl.cpp
@@ -180,13 +180,13 @@ PortImpl::broadcast_value(ProcessContext& context, bool force)
if (_type == DataType::CONTROL || _type == DataType::AUDIO) {
const Sample value = ((AudioBuffer*)buffer(0))->value_at(0);
if (force || value != _last_broadcasted_value) {
- const SendPortValueEvent ev(context.engine(), context.start(), this, false, 0, value);
+ const Events::SendPortValueEvent ev(context.engine(), context.start(), this, false, 0, value);
context.event_sink().write(sizeof(ev), &ev);
_last_broadcasted_value = value;
}
} else if (_type == DataType::EVENT) {
if (((EventBuffer*)buffer(0))->event_count() > 0) {
- const SendPortActivityEvent ev(context.engine(), context.start(), this);
+ const Events::SendPortActivityEvent ev(context.engine(), context.start(), this);
context.event_sink().write(sizeof(ev), &ev);
}
}