From 3e663d730718a3f0a8946435eb618d16eb18212b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 27 May 2013 19:33:12 -0700 Subject: Remove an unused method --- OpenAL32/Include/alFilter.h | 12 ------------ 1 file changed, 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) */ -- cgit v1.2.3