summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-12 04:06:03 +0000
committerDavid Robillard <d@drobilla.net>2012-08-12 04:06:03 +0000
commitf1440f1247d71a4867a50eede068730743eb8e09 (patch)
tree887443d961cb3c48537e10399f3c1cc7f343ac91 /src/server
parent7f24f7c5f62eb03e99b2ce812022f2fa3cdf05e6 (diff)
downloadingen-f1440f1247d71a4867a50eede068730743eb8e09.tar.gz
ingen-f1440f1247d71a4867a50eede068730743eb8e09.tar.bz2
ingen-f1440f1247d71a4867a50eede068730743eb8e09.zip
Fix Sequence output for LV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4666 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/ingen_lv2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index 2f845dd2..9c688b18 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -144,9 +144,9 @@ public:
} else if (_patch_port->is_a(PortType::CONTROL)) {
((float*)_buffer)[0] = patch_buf->samples()[0];
} else {
- memcpy(patch_buf->atom(),
- _buffer,
- sizeof(LV2_Atom) + ((LV2_Atom*)_buffer)->size);
+ memcpy(_buffer,
+ patch_buf->atom(),
+ sizeof(LV2_Atom) + patch_buf->atom()->size);
}
}