From e2850df07eac6e3c641a3c66ecdc153db12ef788 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 3 May 2011 16:18:46 -0700 Subject: Use the same filters for mono sources and multi-channel --- OpenAL32/Include/alFilter.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32/Include') 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]; -- cgit v1.2.3