diff options
Diffstat (limited to 'src/libs/engine/NodeBase.cpp')
-rw-r--r-- | src/libs/engine/NodeBase.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libs/engine/NodeBase.cpp b/src/libs/engine/NodeBase.cpp index b61783b3..32b641e0 100644 --- a/src/libs/engine/NodeBase.cpp +++ b/src/libs/engine/NodeBase.cpp @@ -83,6 +83,24 @@ NodeBase::deactivate() void +NodeBase::prepare_poly(uint32_t poly) +{ + if (_ports) + for (size_t i=0; i < _ports->size(); ++i) + _ports->at(i)->prepare_poly(poly); +} + + +void +NodeBase::apply_poly(Raul::Maid& maid, uint32_t poly) +{ + if (_ports) + for (size_t i=0; i < _ports->size(); ++i) + _ports->at(i)->apply_poly(maid, poly); +} + + +void NodeBase::set_buffer_size(size_t size) { _buffer_size = size; |