aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-12-10 11:54:13 -0800
committerChris Robinson <[email protected]>2008-12-10 11:54:13 -0800
commit3056f91ec54b2066b0e939ebcb540ca99a256110 (patch)
treef926ea341a246c98c64355862e99fe1c9b193c01 /OpenAL32
parented03570e1afc8547069216ed7952cd779da7b20b (diff)
Apply the dry filter to multi-channel sources
Unlike mono sources, they use 2 chained one-pole filters instead of 4
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alFilter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h
index 11cb45cd..413f2a12 100644
--- a/OpenAL32/Include/alFilter.h
+++ b/OpenAL32/Include/alFilter.h
@@ -2,13 +2,14 @@
#define _AL_FILTER_H_
#include "AL/al.h"
+#include "alu.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
- ALfloat history[4];
+ ALfloat history[OUTPUTCHANNELS*2];
ALfloat coeff;
} FILTER;