diff options
author | Jamie Bullock <postlude@users.sourceforge.net> | 2015-03-16 14:56:17 +0000 |
---|---|---|
committer | Jamie Bullock <postlude@users.sourceforge.net> | 2015-03-16 14:56:17 +0000 |
commit | ebaabd0f2e3203be4700d01260b81c5971289c14 (patch) | |
tree | d844cb423fdee133e16ea8b9f80accb23d3b5197 /pluginhost~/ph_common.c | |
parent | c8f157b2231ba21d40a6699ffbdeb7874b9b1abd (diff) |
Add support for a wider range of DX-based SYSEX files including those with more than 32-voices. NOTE: for now files with up to 128 voices can be “read”, but only the first 32 voices will be “loaded”
svn path=/trunk/externals/postlude/; revision=17445
Diffstat (limited to 'pluginhost~/ph_common.c')
-rw-r--r-- | pluginhost~/ph_common.c | 7 |
1 files changed, 4 insertions, 3 deletions
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) |