fix plugin analysis for variable i/o plugins
This commit is contained in:
parent
205fbb99ad
commit
d8a97789c1
@ -2862,7 +2862,14 @@ PluginInsert::get_impulse_analysis_plugin()
|
|||||||
// during init() -- most notably block_size..
|
// during init() -- most notably block_size..
|
||||||
// not great.
|
// not great.
|
||||||
ret = plugin_factory(_plugins[0]);
|
ret = plugin_factory(_plugins[0]);
|
||||||
ret->configure_io (internal_input_streams (), internal_output_streams ());
|
ChanCount out (internal_output_streams ());
|
||||||
|
if (ret->get_info ()->reconfigurable_io ()) {
|
||||||
|
// populate get_info ()->n_inputs and ->n_outputs
|
||||||
|
ChanCount useins;
|
||||||
|
ret->can_support_io_configuration (internal_input_streams (), out, &useins);
|
||||||
|
assert (out == internal_output_streams ());
|
||||||
|
}
|
||||||
|
ret->configure_io (internal_input_streams (), out);
|
||||||
_impulseAnalysisPlugin = ret;
|
_impulseAnalysisPlugin = ret;
|
||||||
} else {
|
} else {
|
||||||
ret = _impulseAnalysisPlugin.lock();
|
ret = _impulseAnalysisPlugin.lock();
|
||||||
|
Loading…
Reference in New Issue
Block a user