projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c8f10
)
Revert "relax zita-resampler's relative ratio"
author
Robin Gareus
<robin@gareus.org>
Sun, 29 Oct 2017 16:55:57 +0000
(17:55 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 29 Oct 2017 16:55:57 +0000
(17:55 +0100)
This reverts commit
d1b5a9ed3deb3045971bd16f6613ef328e49b7e8
.
libs/zita-resampler/vresampler.cc
patch
|
blob
|
history
diff --git
a/libs/zita-resampler/vresampler.cc
b/libs/zita-resampler/vresampler.cc
index 535113de535e274118d03a1bece5a11a66df844d..2c91d2e23eebb1d7f0afc380400f0aeef676e9c2 100644
(file)
--- a/
libs/zita-resampler/vresampler.cc
+++ b/
libs/zita-resampler/vresampler.cc
@@
-126,14
+126,8
@@
VResampler::set_rratio (double r)
{
if (!_table) return;
if (r > 16.0) r = 16.0;
-#if 0 // original upstream
if (r < 0.95) r = 0.95;
_qstep = _table->_np / (_ratio * r);
-#else
- if (r < 0.05) r = 0.05;
- _qstep = _table->_np / (_ratio * r);
- if (_qstep < 4) _qstep = 4;
-#endif
}
double