aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alFilter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index c57dabb0..afda32c3 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -7,9 +7,11 @@
extern "C" {
#endif
+#define FILTER_SECTIONS 2 /* 2 filter sections for 24 db/oct filter */
+
typedef struct {
- float *history; /* pointer to history in filter */
- float *coef; /* pointer to coefficients of filter */
+ float history[2*FILTER_SECTIONS]; /* history in filter */
+ float coef[4*FILTER_SECTIONS + 1]; /* coefficients of filter */
} FILTER;
#define AL_FILTER_TYPE 0x8001
@@ -53,8 +55,6 @@ AL_API ALvoid AL_APIENTRY alGetFilterfv(ALuint filter, ALenum param, ALfloat *pf
ALvoid ReleaseALFilters(ALvoid);
-#define FILTER_SECTIONS 2 /* 2 filter sections for 24 db/oct filter */
-
int InitLowPassFilter(ALCcontext *Context, FILTER *iir);
#ifdef __cplusplus