diff options
author | Chris Robinson <[email protected]> | 2012-08-15 01:48:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-15 01:48:47 -0700 |
commit | 64cd763e190eeff0f0631babebc150893e5f3ecf (patch) | |
tree | de755d01e4bd1b6d98ccd61d729d24d7a4b421a5 | |
parent | c3f387da70e5072f024f19cffc88621c25e8eff3 (diff) |
Remove unused filter functions
-rw-r--r-- | OpenAL32/Include/alFilter.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index a3c0d3cd..c871e6dc 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -30,17 +30,6 @@ static __inline ALfloat lpFilter2P(FILTER *iir, ALuint offset, ALfloat input) return output; } -static __inline ALfloat lpFilter1P(FILTER *iir, ALuint offset, ALfloat input) -{ - ALfloat *history = &iir->history[offset]; - ALfloat a = iir->coeff; - ALfloat output = input; - - output = output + (history[0]-output)*a; - history[0] = output; - - return output; -} static __inline ALfloat lpFilter2PC(const FILTER *iir, ALuint offset, ALfloat input) { @@ -53,16 +42,6 @@ static __inline ALfloat lpFilter2PC(const FILTER *iir, ALuint offset, ALfloat in return output; } -static __inline ALfloat lpFilter1PC(FILTER *iir, ALuint offset, ALfloat input) -{ - const ALfloat *history = &iir->history[offset]; - ALfloat a = iir->coeff; - ALfloat output = input; - - output = output + (history[0]-output)*a; - - return output; -} /* Calculates the low-pass filter coefficient given the pre-scaled gain and * cos(w) value. Note that g should be pre-scaled (sqr(gain) for one-pole, |