formats: clarify setting of reverse_bytes
[sox.git] / src / dft_filter.h
blobb8b2599988b48d2fc84d5e2b94e30cd05aa5fbc4
1 #include "fft4g.h"
2 #define FIFO_SIZE_T int
3 #include "fifo.h"
5 typedef struct {
6 int dft_length, num_taps, post_peak;
7 double * coefs;
8 } dft_filter_t;
10 typedef struct {
11 uint64_t samples_in, samples_out;
12 fifo_t input_fifo, output_fifo;
13 dft_filter_t filter, * filter_ptr;
14 } dft_filter_priv_t;
16 void lsx_set_dft_filter(dft_filter_t * f, double * h, int n, int post_peak);