summaryrefslogtreecommitdiffstats
path: root/src/engine/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-03 01:25:01 +0000
committerDavid Robillard <d@drobilla.net>2009-06-03 01:25:01 +0000
commit5f71c5eecee673b0a1156d0fe56726750d17cb86 (patch)
treea1bf4bd3b18d3a95cfd2f52fadb9fd986182451e /src/engine/PortImpl.cpp
parentf845aa9eaf46cfa2ad2427b62fa9062e7f6c7934 (diff)
downloadingen-5f71c5eecee673b0a1156d0fe56726750d17cb86.tar.gz
ingen-5f71c5eecee673b0a1156d0fe56726750d17cb86.tar.bz2
ingen-5f71c5eecee673b0a1156d0fe56726750d17cb86.zip
Rename event classes to match new pretty file names.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2069 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 f88a5bc2..6b0bfcad 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 Events::SendPortValueEvent ev(context.engine(), context.start(), this, false, 0, value);
+ const Events::SendPortValue 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 Events::SendPortActivityEvent ev(context.engine(), context.start(), this);
+ const Events::SendPortActivity ev(context.engine(), context.start(), this);
context.event_sink().write(sizeof(ev), &ev);
}
}