From 42306f93b33cc0dcb2d32831370495ae7ce15531 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 15 Jan 2008 19:59:19 -0800 Subject: Set default room rolloff factor --- OpenAL32/alSource.c | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenAL32/alSource.c') 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; -- cgit v1.2.3