initialize output data ports for cases where the plugin is not run
(e.g. load session with inactive track, or instantiate an audio plugin on a midi track before the synth)
This commit is contained in:
@@ -141,11 +141,8 @@ LadspaPlugin::init (string module_path, uint32_t index, framecnt_t rate)
|
||||
*_latency_control_port = 0;
|
||||
}
|
||||
|
||||
if (!LADSPA_IS_PORT_INPUT(port_descriptor (i))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
_shadow_data[i] = _default_value (i);
|
||||
_control_data[i] = _shadow_data[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user