summaryrefslogtreecommitdiff
path: root/libs/ardour/rb_effect.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-01-10 00:32:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-01-10 00:32:53 +0000
commitf574186844c36be204df5f702d3b0b87dd7cd86f (patch)
tree52b5febb634cc07a17967c2c9313424825083503 /libs/ardour/rb_effect.cc
parent6f089b1ed338665fa630cea64ca2138fc1026e89 (diff)
provide RubberBand options in a sensible way for timestretch/pitchshift
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2860 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/rb_effect.cc')
-rw-r--r--libs/ardour/rb_effect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/rb_effect.cc b/libs/ardour/rb_effect.cc
index 51c216833d..a8d22c13b3 100644
--- a/libs/ardour/rb_effect.cc
+++ b/libs/ardour/rb_effect.cc
@@ -75,7 +75,7 @@ RBEffect::run (boost::shared_ptr<AudioRegion> region)
int avail = 0;
RubberBandStretcher stretcher (session.frame_rate(), region->n_channels(),
- RubberBandStretcher::DefaultOptions,
+ (RubberBandStretcher::Options) tsr.opts,
tsr.time_fraction, tsr.pitch_fraction);
stretcher.setExpectedInputDuration(region->length());