From c8671b5747cf82ac95a402893eef658e04d9c8d2 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 16 Oct 2022 21:44:52 +0200 Subject: [PATCH] List matching I/O Plugin ports in connection button dropdown --- gtk2_ardour/io_button.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gtk2_ardour/io_button.cc b/gtk2_ardour/io_button.cc index dd4c0e8f16..e75aaa9eb3 100644 --- a/gtk2_ardour/io_button.cc +++ b/gtk2_ardour/io_button.cc @@ -248,6 +248,13 @@ IOButton::button_press (GdkEventButton* ev) } maybe_add_bundle_to_menu ((*i)->output ()->bundle (), current); } + + for (auto const& iop : *_route->session ().io_plugs ()) { + if (!iop->is_pre ()) { + continue; + } + maybe_add_bundle_to_menu (iop->output ()->bundle (), current); + } } else { DataType intended_type = guess_main_type (_input ? _route->input () : _route->output ()); @@ -276,6 +283,13 @@ IOButton::button_press (GdkEventButton* ev) maybe_add_bundle_to_menu (*i, current, intended_type); } } + + for (auto const& iop : *_route->session ().io_plugs ()) { + if (iop->is_pre ()) { + continue; + } + maybe_add_bundle_to_menu (iop->input ()->bundle (), current, intended_type); + } } if (citems.size () > n_with_separator) {