diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2014-03-24 13:22:49 +0100 |
---|---|---|
committer | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2014-05-01 20:02:14 +0200 |
commit | 17702278345e6ab728623038fa6c0b6811cdbc78 (patch) | |
tree | dd8c182c146fbfc473c57eaf33ebaaa573adee33 /libs/ardour/audioregion.cc | |
parent | ca68814faf8a9e152b3aee2cb58da6eb7f1cab8f (diff) |
Introduce global default-fade-shape configuration variable
Some users always want the same fade in/out style, e.g., constant power,
symmetric, fast etc.
To avoid having them change the fade style manually for each fade, use a
global configuration variable instead.
Diffstat (limited to 'libs/ardour/audioregion.cc')
-rw-r--r-- | libs/ardour/audioregion.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 45454b0909..63530e2f01 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -1211,14 +1211,14 @@ void AudioRegion::set_default_fade_in () { _fade_in_suspended = 0; - set_fade_in (FadeLinear, 64); + set_fade_in (Config->get_default_fade_shape(), 64); } void AudioRegion::set_default_fade_out () { _fade_out_suspended = 0; - set_fade_out (FadeLinear, 64); + set_fade_out (Config->get_default_fade_shape(), 64); } void |