summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-14 04:05:15 +0000
committerDavid Robillard <d@drobilla.net>2008-08-14 04:05:15 +0000
commit7793ef294616e522d13bb1706c2139411f91a6f4 (patch)
treecbc3d63bbe67ed9b24c67c3223daee46c15e8d8e /src
parent58e8d1cddd520ae0ddf39f16210f1500868a2b2e (diff)
downloadingen-7793ef294616e522d13bb1706c2139411f91a6f4.tar.gz
ingen-7793ef294616e522d13bb1706c2139411f91a6f4.tar.bz2
ingen-7793ef294616e522d13bb1706c2139411f91a6f4.zip
Remove polyphony debugging stuff.
git-svn-id: http://svn.drobilla.net/lad/ingen@1368 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/libs/engine/NodeBase.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libs/engine/NodeBase.cpp b/src/libs/engine/NodeBase.cpp
index f8891f68..6eb0f8d8 100644
--- a/src/libs/engine/NodeBase.cpp
+++ b/src/libs/engine/NodeBase.cpp
@@ -209,19 +209,6 @@ NodeBase::pre_process(ProcessContext& context)
// Mix down any ports with multiple inputs
for (size_t i=0; i < num_ports(); ++i)
_ports->at(i)->pre_process(context);
-
- // Connect port buffers (FIXME: NOT NECESSARY!)
- if (polyphonic()) {
- for (uint32_t i=0; i < _polyphony; ++i) {
- for (uint32_t j=0; j < num_ports(); ++j) {
- assert(_ports->at(j)->poly() == _polyphony);
- set_port_buffer(i, j, _ports->at(j)->buffer(i));
- }
- }
- } else {
- for (uint32_t j=0; j < num_ports(); ++j)
- set_port_buffer(0, j, _ports->at(j)->buffer(0));
- }
}