13
0

Revert "relax zita-resampler's relative ratio"

This reverts commit d1b5a9ed3d.
This commit is contained in:
Robin Gareus 2017-10-29 17:55:57 +01:00
parent e6c8f104d1
commit 7b98ea911d

View File

@ -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