aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-15 19:59:19 -0800
committerChris Robinson <[email protected]>2008-01-15 19:59:19 -0800
commit42306f93b33cc0dcb2d32831370495ae7ce15531 (patch)
tree1233f2b0fc1b4a6906138f04118211b55f7b1513 /OpenAL32/alSource.c
parent03ca50fa70268644b0c57ec7c36638f5edbb7909 (diff)
Set default room rolloff factor
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c1
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;