mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue