From 46e5de590817756b21a7a5d99bd4963df343f455 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 20 Feb 2010 21:52:36 +0000 Subject: 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: http://svn.drobilla.net/lad/trunk/ingen@2468 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/Connect.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/events/Connect.hpp') diff --git a/src/engine/events/Connect.hpp b/src/engine/events/Connect.hpp index 7f88d160..116ea892 100644 --- a/src/engine/events/Connect.hpp +++ b/src/engine/events/Connect.hpp @@ -34,7 +34,6 @@ namespace Ingen { class PatchImpl; class NodeImpl; class ConnectionImpl; -class MidiMessage; class PortImpl; class InputPort; class OutputPort; @@ -57,7 +56,6 @@ public: void post_process(); private: - enum ErrorType { NO_ERROR, PARENT_PATCH_DIFFERENT, @@ -83,6 +81,8 @@ private: PatchImpl::Connections::Node* _patch_listnode; InputPort::Connections::Node* _port_listnode; + Raul::Array* _buffers; + ErrorType _error; }; -- cgit v1.2.1