mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
adjust GainMeter* API and design to handle stripables, not just routes for selection/group behavior
This commit is contained in:
parent
3c44c326c2
commit
1d31ace29d
4 changed files with 54 additions and 44 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue