summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-20 02:21:36 +0100
committerDavid Robillard <d@drobilla.net>2017-03-20 03:19:33 +0100
commitd90e7b1a36039fc4f489278f25a447c9a5fcc9d7 (patch)
tree62637cd4fb8e3a84bd651edf832607ae2c297081 /src
parentb1c79421a62d93900f9096c8f90f2606623f1310 (diff)
downloadingen-d90e7b1a36039fc4f489278f25a447c9a5fcc9d7.tar.gz
ingen-d90e7b1a36039fc4f489278f25a447c9a5fcc9d7.tar.bz2
ingen-d90e7b1a36039fc4f489278f25a447c9a5fcc9d7.zip
Fix split cycle audio output
Diffstat (limited to 'src')
-rw-r--r--src/server/Buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp
index 8ed1d60a..2f26eafb 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -206,7 +206,7 @@ Buffer::port_data(PortType port_type, SampleCount offset)
if (_type == _factory.uris().atom_Float) {
return &get<LV2_Atom_Float>()->body;
} else if (_type == _factory.uris().atom_Sound) {
- return (Sample*)_buf;
+ return (Sample*)_buf + offset;
}
break;
case PortType::ID::ATOM: