aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-11 10:07:17 -0700
committerChris Robinson <[email protected]>2014-05-11 10:07:17 -0700
commit343200d2296f8ceb14371d12d6032056ec7fb9a3 (patch)
tree48c42a51476b862eabec4d71c801691dbb84928a /OpenAL32/alSource.c
parent58235bec174e97790c7567327521dfa9e2c16bdf (diff)
Store the filter reference frequency in the source
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index f0fb374f..e057acb1 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -2314,10 +2314,12 @@ static ALvoid InitSourceParams(ALsource *Source)
Source->Direct.Gain = 1.0f;
Source->Direct.GainHF = 1.0f;
+ Source->Direct.HFReference = (ALfloat)LOWPASSFREQREF;
for(i = 0;i < MAX_SENDS;i++)
{
Source->Send[i].Gain = 1.0f;
Source->Send[i].GainHF = 1.0f;
+ Source->Send[i].HFReference = (ALfloat)LOWPASSFREQREF;
}
Source->NeedsUpdate = AL_TRUE;