path: root/src/engine/LADSPANode.hpp
diff options
authorDavid Robillard <>2010-02-20 21:52:36 +0000
committerDavid Robillard <>2010-02-20 21:52:36 +0000
commit46e5de590817756b21a7a5d99bd4963df343f455 (patch)
tree7d7b3b63297b24d84e5b42cc8aeb22d4212738b5 /src/engine/LADSPANode.hpp
parentb96a4015ae39b5bdd9afbd82898c0168a0a8e613 (diff)
Heavy overhaul of buffer management and polyphony.
* Working polyphony when nodes are instantiated at desired polyphony level (dynamic still doesn't work) * Use shared silent buffer for disconnected audio inputs (save memory) * Eliminate redundant patch compiling on delete and disconnect-all events that have child events * Fix a ton of crash bugs and other issues I've since forgotten git-svn-id: a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/LADSPANode.hpp')
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/LADSPANode.hpp b/src/engine/LADSPANode.hpp
index 6585b2ad..91293699 100644
--- a/src/engine/LADSPANode.hpp
+++ b/src/engine/LADSPANode.hpp
@@ -41,8 +41,7 @@ public:
bool polyphonic,
PatchImpl* parent,
const LADSPA_Descriptor* descriptor,
- SampleRate srate,
- size_t buffer_size);
+ SampleRate srate);
@@ -51,7 +50,7 @@ public:
bool prepare_poly(BufferFactory& bufs, uint32_t poly);
bool apply_poly(Raul::Maid& maid, uint32_t poly);
- void activate();
+ void activate(BufferFactory& bufs);
void deactivate();
void process(ProcessContext& context);