From b7e1c7cb2f95c7348ebc69ddea7f43ebe62c202c Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Tue, 9 Oct 2001 20:11:29 +0000 Subject: Documentation updates. --- src/openal.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/openal.c') diff --git a/src/openal.c b/src/openal.c index 8d0a35c..8f31acd 100644 --- a/src/openal.c +++ b/src/openal.c @@ -107,7 +107,7 @@ int PlatStartSoundSys() /* alSourcef(p, AL_ROLLOFF_FACTOR, 0.0f); */ - alSourcef(p, AL_ROLLOFF_FACTOR, 1.0f); + alSourcef(p, AL_ROLLOFF_FACTOR, 0.01f); alSourcef(p, AL_REFERENCE_DISTANCE, 1.0f); } @@ -579,11 +579,12 @@ int PlatDo3dSound(int activeIndex) newVolume = VOLUME_MIN; printf("PlatDo3dSound: idx = %d, volume = %d, distance = %d\n", activeIndex, newVolume, distance); - + +/* if (PlatChangeSoundVolume (activeIndex, newVolume) == SOUND_PLATFORMERROR) { return SOUND_PLATFORMERROR; } - +*/ if (distance < ActiveSounds[activeIndex].threedeedata.outer_range) { #if 0 ActiveSounds[activeIndex].PropSetP_pos[0] = ActiveSounds[activeIndex].threedeedata.position.vx; // 10000.0; -- cgit v1.3