diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-08 14:22:18 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-01-08 14:22:18 +0000 |
commit | a3f4c2def914c57448c5c0f978f243189e40b00b (patch) | |
tree | 88f3a0776072a20fc90fce833b2b6adab26c185e /libs/ardour/rb_effect.cc | |
parent | 794b9debc4a70b57b806cc517ba30ccfa16cbae2 (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.cc | 4 |
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); |