From 6bfdb57a5b833a17fba867b11f800bba211674b8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 13 Sep 2008 02:46:14 -0700 Subject: Use a 12dB/oct rolloff instead of 24 for the lowpass filter --- OpenAL32/Include/alFilter.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'OpenAL32/Include') 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 -- cgit v1.2.3