adjust GainMeter* API and design to handle stripables, not just routes for selection/group behavior

This commit is contained in:
Paul Davis 2023-07-31 21:12:00 -06:00
parent 3c44c326c2
commit 1d31ace29d
4 changed files with 54 additions and 44 deletions

View file

@ -40,7 +40,7 @@ ReturnUI::ReturnUI (Gtk::Window* parent, std::shared_ptr<Return> r, Session* ses
:_return (r)
, _gpm (session, 250)
{
_gpm.set_controls (std::shared_ptr<Route>(), r->meter(), r->amp(), r->gain_control());
_gpm.set_controls (std::shared_ptr<Stripable>(), r->meter(), r->amp(), r->gain_control());
_hbox.pack_start (_gpm, true, true);
set_name (X_("ReturnUIFrame"));