diff options
author | Chris Robinson <[email protected]> | 2013-05-27 19:33:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-27 19:33:12 -0700 |
commit | 3e663d730718a3f0a8946435eb618d16eb18212b (patch) | |
tree | 185488e6d1c8c5ba1a75eaf082537add5f1f77f9 /OpenAL32/Include | |
parent | feeec3433377d46f71771c3930e5e00bf9834feb (diff) |
Remove an unused method
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index 9273f15c..dc981df7 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -28,18 +28,6 @@ static __inline ALfloat lpFilter2P(FILTER *iir, ALfloat input) return output; } -static __inline ALfloat lpFilter2PC(const FILTER *iir, ALfloat input) -{ - const ALfloat *history = iir->history; - ALfloat a = iir->coeff; - ALfloat output = input; - - output = output + (history[0]-output)*a; - output = output + (history[1]-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, * sqrt(gain) for four-pole, etc) */ |