mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 07:30:02 +01:00
Increased Antialias filter length from 32 to 64
This commit is contained in:
parent
026ebe3841
commit
a61c28e36a
@ -50,15 +50,17 @@
|
|||||||
|
|
||||||
using namespace soundtouch;
|
using namespace soundtouch;
|
||||||
|
|
||||||
|
// Define default interpolation algorithm here
|
||||||
|
TransposerBase::ALGORITHM TransposerBase::algorithm = TransposerBase::CUBIC;
|
||||||
|
|
||||||
|
|
||||||
// Constructor
|
// Constructor
|
||||||
RateTransposer::RateTransposer() : FIFOProcessor(&outputBuffer)
|
RateTransposer::RateTransposer() : FIFOProcessor(&outputBuffer)
|
||||||
{
|
{
|
||||||
bUseAAFilter = TRUE;
|
bUseAAFilter = TRUE;
|
||||||
|
|
||||||
// Instantiates the anti-alias filter with default tap length
|
// Instantiates the anti-alias filter
|
||||||
// of 32
|
pAAFilter = new AAFilter(64);
|
||||||
pAAFilter = new AAFilter(32);
|
|
||||||
pTransposer = TransposerBase::newInstance();
|
pTransposer = TransposerBase::newInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,10 +213,6 @@ int RateTransposer::isEmpty() const
|
|||||||
// TransposerBase - Base class for interpolation
|
// TransposerBase - Base class for interpolation
|
||||||
//
|
//
|
||||||
|
|
||||||
// Initialize default algorithm
|
|
||||||
TransposerBase::ALGORITHM TransposerBase::algorithm = TransposerBase::CUBIC;
|
|
||||||
|
|
||||||
|
|
||||||
// static function to set interpolation algorithm
|
// static function to set interpolation algorithm
|
||||||
void TransposerBase::setAlgorithm(TransposerBase::ALGORITHM a)
|
void TransposerBase::setAlgorithm(TransposerBase::ALGORITHM a)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user