summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Patch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/Patch.cpp')
-rw-r--r--src/libs/engine/Patch.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libs/engine/Patch.cpp b/src/libs/engine/Patch.cpp
index 747d60c7..967623e5 100644
--- a/src/libs/engine/Patch.cpp
+++ b/src/libs/engine/Patch.cpp
@@ -137,6 +137,17 @@ Patch::process(SampleCount nframes, FrameTime start, FrameTime end)
(*i)->process(nframes, start, end);
}
+
+void
+Patch::set_buffer_size(size_t size)
+{
+ NodeBase::set_buffer_size(size);
+ assert(_buffer_size == size);
+
+ for (List<Node*>::iterator j = _nodes.begin(); j != _nodes.end(); ++j)
+ (*j)->set_buffer_size(size);
+}
+
void
Patch::add_to_store(ObjectStore* store)