Make attenutation during fast forward/rewind configurable again. Fixes #3089.
git-svn-id: svn://localhost/ardour2/branches/3.0@6985 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f29c96c188
commit
990f3391ad
|
@ -1079,6 +1079,14 @@ RCOptionEditor::RCOptionEditor ()
|
||||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_disable_disarm_during_roll)
|
sigc::mem_fun (*_rc_config, &RCConfiguration::set_disable_disarm_during_roll)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
add_option (_("Transport"),
|
||||||
|
new BoolOption (
|
||||||
|
"quieten_at_speed",
|
||||||
|
_("Reduce output volume when transport is moving quickly"),
|
||||||
|
sigc::mem_fun (*_rc_config, &RCConfiguration::get_quieten_at_speed),
|
||||||
|
sigc::mem_fun (*_rc_config, &RCConfiguration::set_quieten_at_speed)
|
||||||
|
));
|
||||||
|
|
||||||
/* EDITOR */
|
/* EDITOR */
|
||||||
|
|
||||||
add_option (_("Editor"),
|
add_option (_("Editor"),
|
||||||
|
|
|
@ -90,6 +90,7 @@ CONFIG_VARIABLE (bool, solo_mute_override, "solo-mute-override", false)
|
||||||
CONFIG_VARIABLE (bool, tape_machine_mode, "tape-machine-mode", false)
|
CONFIG_VARIABLE (bool, tape_machine_mode, "tape-machine-mode", false)
|
||||||
CONFIG_VARIABLE (gain_t, solo_mute_gain, "solo-mute-gain", 0.0)
|
CONFIG_VARIABLE (gain_t, solo_mute_gain, "solo-mute-gain", 0.0)
|
||||||
CONFIG_VARIABLE (std::string, monitor_bus_preferred_bundle, "monitor-bus-preferred-bundle", "")
|
CONFIG_VARIABLE (std::string, monitor_bus_preferred_bundle, "monitor-bus-preferred-bundle", "")
|
||||||
|
CONFIG_VARIABLE (bool, quieten_at_speed, "quieten-at-speed", true)
|
||||||
|
|
||||||
/* click */
|
/* click */
|
||||||
|
|
||||||
|
|
|
@ -1504,7 +1504,7 @@ Panner::run (BufferSet& inbufs, BufferSet& outbufs, sframes_t start_frame, sfram
|
||||||
// Speed quietning
|
// Speed quietning
|
||||||
gain_t gain_coeff = 1.0;
|
gain_t gain_coeff = 1.0;
|
||||||
|
|
||||||
if (fabsf(_session.transport_speed()) > 1.5f) {
|
if (fabsf(_session.transport_speed()) > 1.5f && Config->get_quieten_at_speed ()) {
|
||||||
gain_coeff = speed_quietning;
|
gain_coeff = speed_quietning;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user