aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Resampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/Resampler.h')
-rw-r--r--Transceiver52M/Resampler.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Transceiver52M/Resampler.h b/Transceiver52M/Resampler.h
index c9f9787..caffc08 100644
--- a/Transceiver52M/Resampler.h
+++ b/Transceiver52M/Resampler.h
@@ -20,6 +20,9 @@
#ifndef _RESAMPLER_H_
#define _RESAMPLER_H_
+#include <vector>
+#include <complex>
+
class Resampler {
public:
/* Constructor for rational sample rate conversion
@@ -63,14 +66,11 @@ private:
size_t p;
size_t q;
size_t filt_len;
- size_t *in_index;
- size_t *out_path;
-
- float **partitions;
+ std::vector<size_t> in_index;
+ std::vector<size_t> out_path;
+ std::vector<std::complex<float> *> partitions;
- bool initFilters(float bw);
- void releaseFilters();
- void computePath();
+ void initFilters(float bw);
};
#endif /* _RESAMPLER_H_ */