From 36b22fe2bea643d7d4ff69764016ae5be9c6de69 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 19 Sep 2007 05:30:41 +0000 Subject: Broadcast polyphony changes to clients. Fix some (not all) crashes on polyphony change. git-svn-id: http://svn.drobilla.net/lad/ingen@725 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/LV2Node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/engine/LV2Node.cpp') diff --git a/src/libs/engine/LV2Node.cpp b/src/libs/engine/LV2Node.cpp index 8e2e9b81..8ecd00b7 100644 --- a/src/libs/engine/LV2Node.cpp +++ b/src/libs/engine/LV2Node.cpp @@ -63,7 +63,7 @@ LV2Node::prepare_poly(uint32_t poly) _prepared_instances = new Raul::Array(_prepared_poly, *_instances); for (uint32_t i=_poly; i < _prepared_poly; ++i) { _prepared_instances->at(i) = slv2_plugin_instantiate(_lv2_plugin, _srate, NULL); - if ((*_instances)[i] == NULL) { + if ((*_prepared_instances)[i] == NULL) { cerr << "Failed to instantiate plugin!" << endl; return false; } -- cgit v1.2.1