diff options
author | Chris Robinson <[email protected]> | 2016-07-26 04:09:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-26 04:09:01 -0700 |
commit | a6f41e4cb085c12d7adca291624ac3c33bebd3cc (patch) | |
tree | 7c9bb603c0c9b10a0c874bb57ae21db0d2f58808 /OpenAL32/Include | |
parent | 25d1b7bdba7b0c68e9e8e6f727c991cb69f24f4a (diff) |
Remove the last use of ALfilterState_processSingle
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index 5d5c2136..a682d3ba 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -78,23 +78,6 @@ inline void ALfilterState_clear(ALfilterState *filter) void ALfilterState_setParams(ALfilterState *filter, ALfilterType type, ALfloat gain, ALfloat freq_mult, ALfloat rcpQ); -inline ALfloat ALfilterState_processSingle(ALfilterState *filter, ALfloat sample) -{ - ALfloat outsmp; - - outsmp = filter->b0 * sample + - filter->b1 * filter->x[0] + - filter->b2 * filter->x[1] - - filter->a1 * filter->y[0] - - filter->a2 * filter->y[1]; - filter->x[1] = filter->x[0]; - filter->x[0] = sample; - filter->y[1] = filter->y[0]; - filter->y[0] = outsmp; - - return outsmp; -} - void ALfilterState_processC(ALfilterState *filter, ALfloat *restrict dst, const ALfloat *restrict src, ALuint numsamples); inline void ALfilterState_processPassthru(ALfilterState *filter, const ALfloat *src, ALuint numsamples) |