13
0
git-svn-id: svn://localhost/ardour2/branches/3.0@4696 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-27 00:49:24 +00:00
parent 0a61e3893d
commit 60b0022d75
2 changed files with 11 additions and 15 deletions

View File

@ -311,19 +311,15 @@ Editor::time_fx (RegionSelection& regions, float val, bool pitching)
/* default/4 */ /* default/4 */
transients = Transients; peaklock = true; longwin = false; shortwin = false; transients = Transients; peaklock = true; longwin = false; shortwin = false;
}; }
if (realtime) options |= RubberBandStretcher::OptionProcessRealTime; if (realtime) options |= RubberBandStretcher::OptionProcessRealTime;
if (precise) options |= RubberBandStretcher::OptionStretchPrecise; if (precise) options |= RubberBandStretcher::OptionStretchPrecise;
if (preserve_formants) options |= RubberBandStretcher::OptionFormantPreserved; if (preserve_formants) options |= RubberBandStretcher::OptionFormantPreserved;
if (!peaklock) options |= RubberBandStretcher::OptionPhaseIndependent; if (!peaklock) options |= RubberBandStretcher::OptionPhaseIndependent;
if (longwin) options |= RubberBandStretcher::OptionWindowLong; if (longwin) options |= RubberBandStretcher::OptionWindowLong;
if (shortwin) options |= RubberBandStretcher::OptionWindowShort; if (shortwin) options |= RubberBandStretcher::OptionWindowShort;
switch (transients) { switch (transients) {
case NoTransients: case NoTransients:
options |= RubberBandStretcher::OptionTransientsSmooth; options |= RubberBandStretcher::OptionTransientsSmooth;

View File

@ -80,7 +80,7 @@ def set_options(opt):
opt.add_option('--aubio', action='store_true', default=True, dest='aubio', opt.add_option('--aubio', action='store_true', default=True, dest='aubio',
help="Use Paul Brossier's aubio library for feature detection (if available)") help="Use Paul Brossier's aubio library for feature detection (if available)")
opt.add_option('--audiounits', action='store_true', default=False, dest='audiounits', 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', opt.add_option('--coreaudio', action='store_true', default=False, dest='coreaudio',
help='Compile with Apple\'s CoreAudio library') help='Compile with Apple\'s CoreAudio library')
opt.add_option('--fpu-optimization', action='store_true', default=True, dest='fpu_optimization', 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', opt.add_option('--lv2', action='store_true', default=False, dest='lv2',
help='Compile with support for LV2 (if slv2 is available)') help='Compile with support for LV2 (if slv2 is available)')
opt.add_option('--nls', action='store_true', default=True, dest='nls', 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', opt.add_option('--surfaces', action='store_true', default=True, dest='surfaces',
help='Build support for control surfaces') help='Build support for control surfaces')
opt.add_option('--syslibs', action='store_true', default=True, dest='syslibs', opt.add_option('--syslibs', action='store_true', default=True, dest='syslibs',
help='Use existing system versions of various libraries instead of internal ones') help='Use existing system versions of various libraries instead of internal ones')
opt.add_option('--tranzport', action='store_true', default=True, dest='tranzport', 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', 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', opt.add_option('--versioned', action='store_true', default=False, dest='versioned',
help='Add revision information to executable name inside the build directory') help='Add revision information to executable name inside the build directory')
opt.add_option('--vst', action='store_true', default=False, dest='vst', opt.add_option('--vst', action='store_true', default=False, dest='vst',