diff options
author | Chris Robinson <[email protected]> | 2014-05-17 01:32:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-17 01:32:55 -0700 |
commit | c5b25ba2a76e50090c82dc0e246bce422ce9e4fc (patch) | |
tree | 660323ff5534dc5a301c649752f84f8cb94cd5b5 /OpenAL32/alFilter.c | |
parent | a11e1c08580a622acd9367be08171e167eab2a57 (diff) |
Rename freq_scale parameter to freq_mult
Diffstat (limited to 'OpenAL32/alFilter.c')
-rw-r--r-- | OpenAL32/alFilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index 4d017ee2..70595aa0 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -335,7 +335,7 @@ void ALfilterState_clear(ALfilterState *filter) filter->y[1] = 0.0f; } -void ALfilterState_setParams(ALfilterState *filter, ALfilterType type, ALfloat gain, ALfloat freq_scale, ALfloat bandwidth) +void ALfilterState_setParams(ALfilterState *filter, ALfilterType type, ALfloat gain, ALfloat freq_mult, ALfloat bandwidth) { ALfloat alpha; ALfloat w0; @@ -343,7 +343,7 @@ void ALfilterState_setParams(ALfilterState *filter, ALfilterType type, ALfloat g // Limit gain to -100dB gain = maxf(gain, 0.00001f); - w0 = F_2PI * freq_scale; + w0 = F_2PI * freq_mult; /* Calculate filter coefficients depending on filter type */ switch(type) |