From ebaabd0f2e3203be4700d01260b81c5971289c14 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Mon, 16 Mar 2015 14:56:17 +0000 Subject: =?UTF-8?q?Add=20support=20for=20a=20wider=20range=20of=20DX-based?= =?UTF-8?q?=20SYSEX=20files=20including=20those=20with=20more=20than=2032-?= =?UTF-8?q?voices.=20NOTE:=20for=20now=20files=20with=20up=20to=20128=20vo?= =?UTF-8?q?ices=20can=20be=20=E2=80=9Cread=E2=80=9D,=20but=20only=20the=20?= =?UTF-8?q?first=2032=20voices=20will=20be=20=E2=80=9Cloaded=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/externals/postlude/; revision=17445 --- pluginhost~/ph_common.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pluginhost~/ph_common.c') diff --git a/pluginhost~/ph_common.c b/pluginhost~/ph_common.c index e85f6fa..ca65e66 100644 --- a/pluginhost~/ph_common.c +++ b/pluginhost~/ph_common.c @@ -278,6 +278,7 @@ static void ph_init_instance(ph *x, unsigned int i) x->instances[i].pending_bank_msb = -1; x->instances[i].ui_hidden = 1; x->instances[i].ui_show = 0; + x->instances[i].ui_target = NULL; memcpy(x->instances[i].perf_buffer, &dx7_init_performance, DX7_PERFORMANCE_SIZE); //x->instances[i].plugin_port_ctlin_numbers = NULL; @@ -695,8 +696,9 @@ void ph_instance_send_osc(t_outlet *outlet, ph_instance *instance, t_int argc, t_atom *argv) { - outlet_anything(outlet, gensym("connect"), UI_TARGET_ELEMS, - instance->ui_target); + // TODO: ui_target should be host / port, but not yet implemented + //outlet_anything(outlet, gensym("connect"), UI_TARGET_ELEMS, + // instance->ui_target); outlet_anything(outlet, gensym("send"), argc, argv); outlet_anything(outlet, gensym("disconnect"), 0, NULL); @@ -1043,7 +1045,6 @@ void ph_init_plugin(ph *x) x->ports_control_out = 0; x->buf_write_index = 0; x->buf_read_index = 0; - } void ph_free_plugin(ph *x) -- cgit v1.2.1