summaryrefslogtreecommitdiffstats
path: root/src/server/internals/BlockDelay.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-12-13 20:53:58 -0500
committerDavid Robillard <d@drobilla.net>2016-12-14 14:47:13 -0500
commite7b2f7ee286350bc3bb56b44ed98e4d8bf49af82 (patch)
tree8e5a4e42b36bb5c321f24cdd492cd3dc0a941222 /src/server/internals/BlockDelay.cpp
parent05c55a5be68318d2b7ca861a3012bf4893bcb82d (diff)
downloadingen-e7b2f7ee286350bc3bb56b44ed98e4d8bf49af82.tar.gz
ingen-e7b2f7ee286350bc3bb56b44ed98e4d8bf49af82.tar.bz2
ingen-e7b2f7ee286350bc3bb56b44ed98e4d8bf49af82.zip
Fix real-time issues with buffer allocation
Diffstat (limited to 'src/server/internals/BlockDelay.cpp')
-rw-r--r--src/server/internals/BlockDelay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/internals/BlockDelay.cpp b/src/server/internals/BlockDelay.cpp
index 3dee2feb..d52ae721 100644
--- a/src/server/internals/BlockDelay.cpp
+++ b/src/server/internals/BlockDelay.cpp
@@ -68,8 +68,8 @@ BlockDelayNode::~BlockDelayNode()
void
BlockDelayNode::activate(BufferFactory& bufs)
{
- _buffer = bufs.get_buffer(
- bufs.uris().atom_Sound, 0, bufs.audio_buffer_size(), false, true);
+ _buffer = bufs.create(
+ bufs.uris().atom_Sound, 0, bufs.audio_buffer_size());
BlockImpl::activate(bufs);
}