Don't display "channel-selector" for plugins only pretending to be instruments
[ardour.git] / libs / ardour / plugin_insert.cc
index daae15d3ad320d3258a7f267633e15090d84006e..b4152d81e19a54d7e9a43fac464e0619cd640712 100644 (file)
@@ -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;
        }