From 60b0022d75fff0a6057fcbb30c7858e8f4c646b6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Feb 2009 00:49:24 +0000 Subject: [PATCH] Tidy. git-svn-id: svn://localhost/ardour2/branches/3.0@4696 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_timefx.cc | 18 +++++++----------- wscript | 8 ++++---- 2 files changed, 11 insertions(+), 15 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: diff --git a/wscript b/wscript index b5ef9fabda..46467d8534 100644 --- a/wscript +++ b/wscript @@ -80,7 +80,7 @@ def set_options(opt): opt.add_option('--aubio', action='store_true', default=True, dest='aubio', help="Use Paul Brossier's aubio library for feature detection (if available)") opt.add_option('--audiounits', action='store_true', default=False, dest='audiounits', - help='Compile with Apple\'s AudioUnit library. (experimental)') + help='Compile with Apple\'s AudioUnit library (experimental)') opt.add_option('--coreaudio', action='store_true', default=False, dest='coreaudio', help='Compile with Apple\'s CoreAudio library') opt.add_option('--fpu-optimization', action='store_true', default=True, dest='fpu_optimization', @@ -94,15 +94,15 @@ def set_options(opt): opt.add_option('--lv2', action='store_true', default=False, dest='lv2', help='Compile with support for LV2 (if slv2 is available)') opt.add_option('--nls', action='store_true', default=True, dest='nls', - help='Set to turn on i18n support') + help='Enable i18n (native language support)') opt.add_option('--surfaces', action='store_true', default=True, dest='surfaces', help='Build support for control surfaces') opt.add_option('--syslibs', action='store_true', default=True, dest='syslibs', help='Use existing system versions of various libraries instead of internal ones') opt.add_option('--tranzport', action='store_true', default=True, dest='tranzport', - help='Compile with support for Frontier Designs (if libusb is available)') + help='Compile with support for Frontier Designs Tranzport (if libusb is available)') opt.add_option('--universal', action='store_true', default=False, dest='universal', - help='Compile as universal binary. Requires that external libraries are universal.') + help='Compile as universal binary (requires that external libraries are universal)') opt.add_option('--versioned', action='store_true', default=False, dest='versioned', help='Add revision information to executable name inside the build directory') opt.add_option('--vst', action='store_true', default=False, dest='vst',