summaryrefslogtreecommitdiffstats
path: root/src/server/ConnectionImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-25 03:05:52 +0000
committerDavid Robillard <d@drobilla.net>2012-03-25 03:05:52 +0000
commitcbd666d1ba7681264c2c509c1bbc8999136d4f17 (patch)
treed77544516d9100092c59c821f5118a0c65cfda2f /src/server/ConnectionImpl.cpp
parent94f372e95ecd718b7d2ed4f2aa1f0437e7968efb (diff)
downloadingen-cbd666d1ba7681264c2c509c1bbc8999136d4f17.tar.gz
ingen-cbd666d1ba7681264c2c509c1bbc8999136d4f17.tar.bz2
ingen-cbd666d1ba7681264c2c509c1bbc8999136d4f17.zip
Update for latest atom extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4104 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/ConnectionImpl.cpp')
-rw-r--r--src/server/ConnectionImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ConnectionImpl.cpp b/src/server/ConnectionImpl.cpp
index 7abda828..5d622a4c 100644
--- a/src/server/ConnectionImpl.cpp
+++ b/src/server/ConnectionImpl.cpp
@@ -89,7 +89,7 @@ ConnectionImpl::get_sources(Context& context, uint32_t voice,
_queue->peek(sizeof(LV2_Atom), &obj);
boost::intrusive_ptr<Buffer> buf = context.engine().buffer_factory()->get(
dst_port()->buffer_type(), sizeof(LV2_Atom) + obj.size);
- void* data = buf->port_data(PortType::MESSAGE, context.offset());
+ void* data = buf->port_data(PortType::ATOM, context.offset());
_queue->read(sizeof(LV2_Atom) + obj.size, (LV2_Atom*)data);
srcs[num_srcs++] = buf;
} else if (must_mix()) {