diff options
author | Chris Robinson <[email protected]> | 2014-05-11 10:09:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-11 10:09:52 -0700 |
commit | 3582a44dfffedd76c4254a6c91d62055d707d239 (patch) | |
tree | ce0b547c3fe382c063eb693610d0e69a181ef2bd /OpenAL32/alSource.c | |
parent | 343200d2296f8ceb14371d12d6032056ec7fb9a3 (diff) |
Make LOWPASSFREQREF a float value
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index e057acb1..5e24e848 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2314,12 +2314,12 @@ static ALvoid InitSourceParams(ALsource *Source) Source->Direct.Gain = 1.0f; Source->Direct.GainHF = 1.0f; - Source->Direct.HFReference = (ALfloat)LOWPASSFREQREF; + Source->Direct.HFReference = 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->Send[i].HFReference = LOWPASSFREQREF; } Source->NeedsUpdate = AL_TRUE; |