mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Revert "relax zita-resampler's relative ratio"
This reverts commit d1b5a9ed3d.
This commit is contained in:
parent
e6c8f104d1
commit
7b98ea911d
1 changed files with 0 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue