Revert "relax zita-resampler's relative ratio"
This reverts commit d1b5a9ed3d
.
This commit is contained in:
parent
e6c8f104d1
commit
7b98ea911d
@ -126,14 +126,8 @@ VResampler::set_rratio (double r)
|
|||||||
{
|
{
|
||||||
if (!_table) return;
|
if (!_table) return;
|
||||||
if (r > 16.0) r = 16.0;
|
if (r > 16.0) r = 16.0;
|
||||||
#if 0 // original upstream
|
|
||||||
if (r < 0.95) r = 0.95;
|
if (r < 0.95) r = 0.95;
|
||||||
_qstep = _table->_np / (_ratio * r);
|
_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
|
double
|
||||||
|
Loading…
Reference in New Issue
Block a user