diff options
-rw-r--r-- | src/server/Buffer.cpp | 2 |
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: |