diff options
Diffstat (limited to 'src/libs/engine/NodeBase.cpp')
-rw-r--r-- | src/libs/engine/NodeBase.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libs/engine/NodeBase.cpp b/src/libs/engine/NodeBase.cpp index abba3c33..1462e3bf 100644 --- a/src/libs/engine/NodeBase.cpp +++ b/src/libs/engine/NodeBase.cpp @@ -125,6 +125,17 @@ NodeBase::remove_from_store() } +void +NodeBase::set_buffer_size(size_t size) +{ + _buffer_size = size; + + if (_ports) + for (size_t i=0; i < _ports->size(); ++i) + _ports->at(i)->set_buffer_size(size); +} + + /** Runs the Node for the specified number of frames (block size) */ void |