diff options
author | Chris Robinson <[email protected]> | 2014-03-23 17:47:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-23 17:47:58 -0700 |
commit | de5c54db0977c5a85aaf60bb53bd800bd76560b5 (patch) | |
tree | 3e3bef70ce1953fc0794361155d0bbf84179ebd4 /OpenAL32 | |
parent | cbb82647fbddc9884a2e2b0230471bb629baa887 (diff) |
Remove an unused method
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 9 | ||||
-rw-r--r-- | OpenAL32/alFilter.c | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index 5167c125..6f6db231 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -51,15 +51,6 @@ inline ALfloat ALfilterState_processSingle(ALfilterState *filter, ALfloat sample return outsmp; } -inline ALfloat ALfilterState_processSingleC(const ALfilterState *filter, ALfloat sample) -{ - return filter->b[0] * sample + - filter->b[1] * filter->x[0] + - filter->b[2] * filter->x[1] - - filter->a[1] * filter->y[0] - - filter->a[2] * filter->y[1]; -} - typedef struct ALfilter { // Filter type (AL_FILTER_NULL, ...) diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index 692109f5..0d1dc52c 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -32,7 +32,6 @@ extern inline struct ALfilter *LookupFilter(ALCdevice *device, ALuint id); extern inline struct ALfilter *RemoveFilter(ALCdevice *device, ALuint id); extern inline ALfloat ALfilterState_processSingle(ALfilterState *filter, ALfloat sample); -extern inline ALfloat ALfilterState_processSingleC(const ALfilterState *filter, ALfloat sample); static void InitFilterParams(ALfilter *filter, ALenum type); |