summaryrefslogtreecommitdiff
path: root/libs/ardour/rb_effect.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-01-08 14:22:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-01-08 14:22:18 +0000
commita3f4c2def914c57448c5c0f978f243189e40b00b (patch)
tree88f3a0776072a20fc90fce833b2b6adab26c185e /libs/ardour/rb_effect.cc
parent794b9debc4a70b57b806cc517ba30ccfa16cbae2 (diff)
add remove binding button to key binding editor; change progress bar in stretch dialog to better reflect study/stretch split
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2841 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/rb_effect.cc')
-rw-r--r--libs/ardour/rb_effect.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/rb_effect.cc b/libs/ardour/rb_effect.cc
index ccd8317c71..51c216833d 100644
--- a/libs/ardour/rb_effect.cc
+++ b/libs/ardour/rb_effect.cc
@@ -155,7 +155,7 @@ RBEffect::run (boost::shared_ptr<AudioRegion> region)
pos += this_read;
done += this_read;
- tsr.progress = ((float) done / duration) * 0.75;
+ tsr.progress = ((float) done / duration) * 0.25;
stretcher.study(buffers, this_read, pos == duration);
}
@@ -193,7 +193,7 @@ RBEffect::run (boost::shared_ptr<AudioRegion> region)
pos += this_read;
done += this_read;
- tsr.progress = 0.75 + ((float) done / duration) * 0.25;
+ tsr.progress = 0.25 + ((float) done / duration) * 0.75;
stretcher.process(buffers, this_read, pos == duration);