summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 910349ca..f943fbb8 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -246,7 +246,7 @@ PortImpl::set_voice_value(const Context& context,
const FrameTime offset = time - context.start();
// Same deal as above
if (offset < context.nframes()) {
- buffer(voice)->append_event(time - context.start(),
+ buffer(voice)->append_event(offset,
sizeof(value),
_bufs.uris().atom_Float,
(const uint8_t*)&value);