diff options
author | Chris Robinson <[email protected]> | 2011-05-03 16:18:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-03 16:18:46 -0700 |
commit | e2850df07eac6e3c641a3c66ecdc153db12ef788 (patch) | |
tree | ea3e551635476e3368ec880c596f704498af6f3c /OpenAL32 | |
parent | 48def2fecb3e3ff0e8500e3cec3bdc0639580e72 (diff) |
Use the same filters for mono sources and multi-channel
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index ef852d13..7eabe5cb 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -16,7 +16,7 @@ typedef struct { ALfloat history[1]; #endif } FILTER; - +/* static __inline ALfloat lpFilter4P(FILTER *iir, ALuint offset, ALfloat input) { ALfloat *history = &iir->history[offset]; @@ -34,7 +34,7 @@ static __inline ALfloat lpFilter4P(FILTER *iir, ALuint offset, ALfloat input) return output; } - +*/ static __inline ALfloat lpFilter2P(FILTER *iir, ALuint offset, ALfloat input) { ALfloat *history = &iir->history[offset]; @@ -60,7 +60,7 @@ static __inline ALfloat lpFilter1P(FILTER *iir, ALuint offset, ALfloat input) return output; } - +/* static __inline ALfloat lpFilter4PC(const FILTER *iir, ALuint offset, ALfloat input) { const ALfloat *history = &iir->history[offset]; @@ -74,7 +74,7 @@ static __inline ALfloat lpFilter4PC(const FILTER *iir, ALuint offset, ALfloat in return output; } - +*/ static __inline ALfloat lpFilter2PC(const FILTER *iir, ALuint offset, ALfloat input) { const ALfloat *history = &iir->history[offset]; |