aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/filters
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2018-12-25 10:28:02 -0800
committerChris Robinson <chris.kcat@gmail.com>2018-12-25 10:28:02 -0800
commit8336de665306e3d1669b9af675b3cf39f0bcbc4a (patch)
tree50b8d804d553ff74ef66671c68779e95f049a778 /Alc/filters
parent9e19acd9e1bf4627d99a0ef87757da4c227ef2db (diff)
Rename a couple filter files for consistency
Diffstat (limited to 'Alc/filters')
-rw-r--r--Alc/filters/biquad.cpp (renamed from Alc/filters/filter.cpp)2
-rw-r--r--Alc/filters/biquad.h (renamed from Alc/filters/defs.h)7
2 files changed, 5 insertions, 4 deletions
diff --git a/Alc/filters/filter.cpp b/Alc/filters/biquad.cpp
index c9e7c9fe..c6266949 100644
--- a/Alc/filters/filter.cpp
+++ b/Alc/filters/biquad.cpp
@@ -7,7 +7,7 @@
#include "AL/al.h"
#include "alMain.h"
-#include "defs.h"
+#include "biquad.h"
void BiquadFilter::setParams(BiquadType type, float gain, float f0norm, float rcpQ)
diff --git a/Alc/filters/defs.h b/Alc/filters/biquad.h
index b7628153..98085dbb 100644
--- a/Alc/filters/defs.h
+++ b/Alc/filters/biquad.h
@@ -1,7 +1,8 @@
-#ifndef ALC_FILTER_H
-#define ALC_FILTER_H
+#ifndef FILTERS_BIQUAD_H
+#define FILTERS_BIQUAD_H
#include <cmath>
+#include <utility>
#include "AL/al.h"
#include "math_defs.h"
@@ -122,4 +123,4 @@ inline ALfloat calc_rcpQ_from_bandwidth(float f0norm, float bandwidth)
return 2.0f*std::sinh(std::log(2.0f)/2.0f*bandwidth*w0/std::sin(w0));
}
-#endif /* ALC_FILTER_H */
+#endif /* FILTERS_BIQUAD_H */