mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-04-13 17:15:27 +08:00
resampler : minor fixes
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user