summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-20 21:52:36 +0000
committerDavid Robillard <d@drobilla.net>2010-02-20 21:52:36 +0000
commit46e5de590817756b21a7a5d99bd4963df343f455 (patch)
tree7d7b3b63297b24d84e5b42cc8aeb22d4212738b5 /src/common
parentb96a4015ae39b5bdd9afbd82898c0168a0a8e613 (diff)
downloadingen-46e5de590817756b21a7a5d99bd4963df343f455.tar.gz
ingen-46e5de590817756b21a7a5d99bd4963df343f455.tar.bz2
ingen-46e5de590817756b21a7a5d99bd4963df343f455.zip
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
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/GraphObject.hpp1
-rw-r--r--src/common/interface/Node.hpp1
-rw-r--r--src/common/interface/Patch.hpp4
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common/interface/GraphObject.hpp b/src/common/interface/GraphObject.hpp
index 91058858..d53658c5 100644
--- a/src/common/interface/GraphObject.hpp
+++ b/src/common/interface/GraphObject.hpp
@@ -46,7 +46,6 @@ public:
virtual const Raul::Path& path() const = 0;
virtual const Raul::Symbol& symbol() const = 0;
- virtual bool polyphonic() const = 0;
virtual GraphObject* graph_parent() const = 0;
};
diff --git a/src/common/interface/Node.hpp b/src/common/interface/Node.hpp
index 4a700a12..7a1a6280 100644
--- a/src/common/interface/Node.hpp
+++ b/src/common/interface/Node.hpp
@@ -21,6 +21,7 @@
#include <stdint.h>
#include "GraphObject.hpp"
+#include <iostream>
namespace Ingen {
namespace Shared {
diff --git a/src/common/interface/Patch.hpp b/src/common/interface/Patch.hpp
index ea6a0507..0817d7c2 100644
--- a/src/common/interface/Patch.hpp
+++ b/src/common/interface/Patch.hpp
@@ -39,8 +39,8 @@ public:
virtual const Connections& connections() const = 0;
- virtual bool enabled() const = 0;
- virtual uint32_t internal_polyphony() const = 0;
+ virtual bool enabled() const = 0;
+ virtual uint32_t internal_poly() const = 0;
};