Don't display "channel-selector" for plugins only pretending to be instruments
If a plugin has 0 audio-outputs, and has the meta-data "InstrumentPlugin", Ardour would interpret is as "variable number of output synth.
This commit is contained in:
parent
6e5cfb665f
commit
ab127d6e70
@ -430,6 +430,13 @@ PluginInsert::has_output_presets (ChanCount in, ChanCount out)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (ppc.size () == 1 && ppc.find (0) != ppc.end () && !_plugins[0]->get_info ()->reconfigurable_io ()) {
|
||||
// some midi-sequencer (e.g. QMidiArp) or other midi-out plugin
|
||||
// pretending to be an "Instrument"
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!is_instrument ()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user