summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/NodeBase.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-19 02:46:47 +0000
committerDavid Robillard <d@drobilla.net>2007-09-19 02:46:47 +0000
commit49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14 (patch)
tree4b56e8fe9f01b42e269e5423347a7cc0664599ad /src/libs/engine/NodeBase.cpp
parentcbc7847a12e57176c5bafa9baa007de6865745c7 (diff)
downloadingen-49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14.tar.gz
ingen-49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14.tar.bz2
ingen-49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14.zip
More work on dynamic polyphony.
git-svn-id: http://svn.drobilla.net/lad/ingen@721 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/NodeBase.cpp')
-rw-r--r--src/libs/engine/NodeBase.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libs/engine/NodeBase.cpp b/src/libs/engine/NodeBase.cpp
index 32b641e0..35d3be4e 100644
--- a/src/libs/engine/NodeBase.cpp
+++ b/src/libs/engine/NodeBase.cpp
@@ -82,21 +82,25 @@ NodeBase::deactivate()
}
-void
+bool
NodeBase::prepare_poly(uint32_t poly)
{
if (_ports)
for (size_t i=0; i < _ports->size(); ++i)
_ports->at(i)->prepare_poly(poly);
+
+ return true;
}
-void
+bool
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);
+
+ return true;
}