mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
add group disposition argument to Route::set_gain() and use it in various UIs
Executive decisions were necessary in a couple of places about the correct group disposition behaviour, notably faderport and OSC surfaces
This commit is contained in:
parent
1948b50a68
commit
64c9198d60
10 changed files with 24 additions and 20 deletions
|
|
@ -1949,25 +1949,25 @@ RouteUI::parameter_changed (string const & p)
|
|||
void
|
||||
RouteUI::step_gain_up ()
|
||||
{
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) + 0.1), this);
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) + 0.1), Controllable::UseGroup);
|
||||
}
|
||||
|
||||
void
|
||||
RouteUI::page_gain_up ()
|
||||
{
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) + 0.5), this);
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) + 0.5), Controllable::UseGroup);
|
||||
}
|
||||
|
||||
void
|
||||
RouteUI::step_gain_down ()
|
||||
{
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) - 0.1), this);
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) - 0.1), Controllable::UseGroup);
|
||||
}
|
||||
|
||||
void
|
||||
RouteUI::page_gain_down ()
|
||||
{
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) - 0.5), this);
|
||||
_route->set_gain (dB_to_coefficient (accurate_coefficient_to_dB (_route->gain_control()->get_value()) - 0.5), Controllable::UseGroup);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue