diff options
author | Chris Robinson <[email protected]> | 2008-09-13 02:46:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-09-13 02:46:14 -0700 |
commit | 6bfdb57a5b833a17fba867b11f800bba211674b8 (patch) | |
tree | 6d23b9aaf7287e1c11eda2205ddc5a54e6c2a998 /OpenAL32 | |
parent | 26e8ea60a5e6e631aaf337f0d02aeb4c6a85a462 (diff) |
Use a 12dB/oct rolloff instead of 24 for the lowpass filter
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index e5e70a06..83912cfa 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -7,11 +7,9 @@ extern "C" { #endif -#define FILTER_SECTIONS 2 /* 2 filter sections for 24 db/oct filter */ - typedef struct { - float history[2*FILTER_SECTIONS]; /* history in filter */ - float coef[4*FILTER_SECTIONS + 1]; /* coefficients of filter */ + float history[2]; /* history in filter */ + float coef[4 + 1]; /* coefficients of filter */ } FILTER; #define AL_FILTER_TYPE 0x8001 |