diff options
author | Chris Robinson <[email protected]> | 2008-12-10 11:54:13 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-12-10 11:54:13 -0800 |
commit | 3056f91ec54b2066b0e939ebcb540ca99a256110 (patch) | |
tree | f926ea341a246c98c64355862e99fe1c9b193c01 /OpenAL32 | |
parent | ed03570e1afc8547069216ed7952cd779da7b20b (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.h | 3 |
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; |