aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr/makemhr.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/makemhr/makemhr.h')
-rw-r--r--utils/makemhr/makemhr.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/utils/makemhr/makemhr.h b/utils/makemhr/makemhr.h
index ba19efbe..89607cc0 100644
--- a/utils/makemhr/makemhr.h
+++ b/utils/makemhr/makemhr.h
@@ -4,6 +4,8 @@
#include <vector>
#include <complex>
+#include "polyphase_resampler.h"
+
// The maximum path length used when processing filenames.
#define MAX_PATH_LEN (256)
@@ -111,16 +113,6 @@ void FftForward(const uint n, complex_d *inout);
void FftInverse(const uint n, complex_d *inout);
-// The resampler metrics and FIR filter.
-struct ResamplerT {
- uint mP, mQ, mM, mL;
- std::vector<double> mF;
-};
-
-void ResamplerSetup(ResamplerT *rs, const uint srcRate, const uint dstRate);
-void ResamplerRun(ResamplerT *rs, const uint inN, const double *in, const uint outN, double *out);
-
-
// Performs linear interpolation.
inline double Lerp(const double a, const double b, const double f)
{ return a + f * (b - a); }