diff options
author | David Robillard <d@drobilla.net> | 2007-09-19 02:46:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-19 02:46:47 +0000 |
commit | 49d6f5b2cc495052d6c5ddbb0629e178c9a2cc14 (patch) | |
tree | 4b56e8fe9f01b42e269e5423347a7cc0664599ad /src/libs/engine/Node.hpp | |
parent | cbc7847a12e57176c5bafa9baa007de6865745c7 (diff) | |
download | ingen-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/Node.hpp')
-rw-r--r-- | src/libs/engine/Node.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/engine/Node.hpp b/src/libs/engine/Node.hpp index ca495904..3114d369 100644 --- a/src/libs/engine/Node.hpp +++ b/src/libs/engine/Node.hpp @@ -65,17 +65,18 @@ public: /** Prepare for a new (external) polyphony value. * * Preprocessor thread, poly is actually applied by apply_poly. + * \return true on success. */ - virtual void prepare_poly(uint32_t poly) = 0; + virtual bool prepare_poly(uint32_t poly) = 0; - /** Apply a new polyphony value. + /** Apply a new (external) polyphony value. * * Audio thread. * * \param poly Must be < the most recent value passed to prepare_poly. * \param maid Any objects no longer needed will be pushed to this */ - virtual void apply_poly(Raul::Maid& maid, uint32_t poly) = 0; + virtual bool apply_poly(Raul::Maid& maid, uint32_t poly) = 0; /** Parallelism: Reset flags for start of a new cycle. */ |