diff options
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Disconnect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index c84dd7a3..6ee86eed 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -101,7 +101,7 @@ Disconnect::Impl::Impl(Engine& e, for (uint32_t i = 0; i < _buffers->size(); ++i) { if (is_control) { Buffer* buf = _buffers->at(i).get(); - buf->set_block(value, 0, buf->nframes() - 1); + buf->set_block(value, 0, buf->nframes()); } else { _buffers->at(i)->clear(); } |