diff options
author | David Robillard <d@drobilla.net> | 2009-02-27 00:49:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-27 00:49:24 +0000 |
commit | 60b0022d75fff0a6057fcbb30c7858e8f4c646b6 (patch) | |
tree | 7cfcfdfcd4dfe3a71c67b0017352270caaa6f48d /gtk2_ardour/editor_timefx.cc | |
parent | 0a61e3893de0149a69415ce218c503025e041712 (diff) |
Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4696 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r-- | gtk2_ardour/editor_timefx.cc | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index e31ce4d955..1f3221c7cc 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -311,18 +311,14 @@ Editor::time_fx (RegionSelection& regions, float val, bool pitching) /* default/4 */ transients = Transients; peaklock = true; longwin = false; shortwin = false; - }; - - - if (realtime) options |= RubberBandStretcher::OptionProcessRealTime; - if (precise) options |= RubberBandStretcher::OptionStretchPrecise; - if (preserve_formants) options |= RubberBandStretcher::OptionFormantPreserved; + } - if (!peaklock) options |= RubberBandStretcher::OptionPhaseIndependent; - if (longwin) options |= RubberBandStretcher::OptionWindowLong; - if (shortwin) options |= RubberBandStretcher::OptionWindowShort; - - + if (realtime) options |= RubberBandStretcher::OptionProcessRealTime; + if (precise) options |= RubberBandStretcher::OptionStretchPrecise; + if (preserve_formants) options |= RubberBandStretcher::OptionFormantPreserved; + if (!peaklock) options |= RubberBandStretcher::OptionPhaseIndependent; + if (longwin) options |= RubberBandStretcher::OptionWindowLong; + if (shortwin) options |= RubberBandStretcher::OptionWindowShort; switch (transients) { case NoTransients: |