From 7d54c7a3831bde7a99a3b7824d2304da7c5715b0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 6 Oct 2008 02:22:14 +0000 Subject: LV2 and polyphony fixes from kfoltman. Fix crash on changing polyphony when control->audio connections are present. Increasing polyphony audibly adds new voices now and controls can be individually twiddled, but changing polyphony nukes individual voice values (issue #223). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1623 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/NodeBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/NodeBase.cpp') diff --git a/src/engine/NodeBase.cpp b/src/engine/NodeBase.cpp index bb4f0e5c..559b51f4 100644 --- a/src/engine/NodeBase.cpp +++ b/src/engine/NodeBase.cpp @@ -129,7 +129,7 @@ NodeBase::apply_poly(Raul::Maid& maid, uint32_t poly) for (uint32_t i=0; i < num_ports(); ++i) for (uint32_t j=0; j < _polyphony; ++j) - set_port_buffer(j, i, _ports->at(i)->buffer(j)); + set_port_buffer(j, i, _ports->at(i)->prepared_buffer(j)); return true; } -- cgit v1.2.1