diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alFilter.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index 24e70766..ad204bfc 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -680,6 +680,12 @@ static void InitFilterParams(ALfilter *filter, ALenum type) } else { + filter->Gain = 1.0f; + filter->GainHF = 1.0f; + filter->HFReference = LOWPASSFREQREF; + filter->GainLF = 1.0f; + filter->LFReference = HIGHPASSFREQREF; + filter->SetParami = null_SetParami; filter->SetParamiv = null_SetParamiv; filter->SetParamf = null_SetParamf; |