diff options
author | Chris Robinson <[email protected]> | 2008-01-15 19:59:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-15 19:59:19 -0800 |
commit | 42306f93b33cc0dcb2d32831370495ae7ce15531 (patch) | |
tree | 1233f2b0fc1b4a6906138f04118211b55f7b1513 /OpenAL32/alSource.c | |
parent | 03ca50fa70268644b0c57ec7c36638f5edbb7909 (diff) |
Set default room rolloff factor
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index dac6c938..85db43c2 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1969,6 +1969,7 @@ static ALvoid InitSourceParams(ALsource *pSource) pSource->WetGainAuto = AL_TRUE; pSource->WetGainHFAuto = AL_TRUE; pSource->AirAbsorptionFactor = 0.0f; + pSource->RoomRolloffFactor = 0.0f; pSource->state = AL_INITIAL; pSource->lSourceType = AL_UNDETERMINED; |