Make WDL resampler initial buffer size optional

This commit is contained in:
xenakios
2018-10-26 20:38:28 +03:00
parent 1b9256ede0
commit bdcb268508
3 changed files with 5 additions and 4 deletions

View File

@ -57,7 +57,7 @@ typedef double WDL_ResampleSample;
class WDL_Resampler
{
public:
WDL_Resampler();
WDL_Resampler(int initialinputbuffersize=0);
~WDL_Resampler();
// if sinc set, it overrides interp or filtercnt
void SetMode(bool interp, int filtercnt, bool sinc, int sinc_size=64, int sinc_interpsize=32);