summaryrefslogtreecommitdiff
path: root/libs/zita-resampler
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-10-29 17:55:57 +0100
committerRobin Gareus <robin@gareus.org>2017-10-29 17:55:57 +0100
commit7b98ea911de820b13417389548aec57db317ce91 (patch)
tree5e3513d63c2d171fdca1e39385ffa7ccd0ab278e /libs/zita-resampler
parente6c8f104d1ca3da57a3693cb147cde67ab423bfc (diff)
Revert "relax zita-resampler's relative ratio"
This reverts commit d1b5a9ed3deb3045971bd16f6613ef328e49b7e8.
Diffstat (limited to 'libs/zita-resampler')
-rw-r--r--libs/zita-resampler/vresampler.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/zita-resampler/vresampler.cc b/libs/zita-resampler/vresampler.cc
index 535113de53..2c91d2e23e 100644
--- 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