resampler : minor fixes

This commit is contained in:
Georgi Gerganov
2021-02-21 00:40:11 +02:00
parent 62b71c3322
commit 5b9c561579
2 changed files with 9 additions and 10 deletions

View File

@@ -2,6 +2,8 @@
class Resampler {
public:
Resampler();
int resample(
float factor,
int nSamples,
@@ -28,6 +30,4 @@ private:
float m_sincTable[kWidth*kSamplesPerZeroCrossing] = { 0.0 };
float m_delayBuffer[3*kWidth] = { 0 };
float m_lastFactor = -1.0f;
};