path: root/src/common/filter.h
diff options
authorAndreas Eversberg <jolly@eversberg.eu>2017-05-13 16:04:00 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-05-15 21:46:32 +0200
commitca10048e5caa77d8ed4c4902336f8ef88738a5e0 (patch)
treeb760e6bc3d44e187298e692bccfa6136812a40c5 /src/common/filter.h
parentd03443c4f158c537f071487d12ed9fca631539a7 (diff)
Rename filter -> iir_filter (file name and instance name)
This is useful when using fir_filter in the future.
Diffstat (limited to 'src/common/filter.h')
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/filter.h b/src/common/filter.h
deleted file mode 100644
index 9f33fe2..0000000
--- a/src/common/filter.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef _FILTER_H
-#define _FILTER_H
-typedef struct filter {
- int iter;
- double a0, a1, a2, b1, b2;
- double z1[64], z2[64];
-} filter_t;
-void filter_lowpass_init(filter_t *bq, double frequency, int samplerate, int iterations);
-void filter_highpass_init(filter_t *bq, double frequency, int samplerate, int iterations);
-void filter_process(filter_t *bq, sample_t *samples, int length);
-#endif /* _FILTER_H */