Improve maybe_add_bundle_to_output_menu
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 22 Aug 2017 14:02:04 +0000 (16:02 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Wed, 23 Aug 2017 20:59:43 +0000 (22:59 +0200)
commit452e22e9c91b9872a59eba9f0c13199d5b32d34d
treefc9e9a61f3cbd115c4c411f586ff9dcd58a24d7b
parent8119026bc8243a4d9a43dc459da6c1c0ca5031b3
Improve maybe_add_bundle_to_output_menu

Avoid proposing the monitor section in the list if the current route is
not the master bus. Also allow the caller to pass a DataType as argument
to allow partial bundle match on that datatype only.
gtk2_ardour/mixer_strip.cc
gtk2_ardour/mixer_strip.h