summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-10-09 20:11:29 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commitb7e1c7cb2f95c7348ebc69ddea7f43ebe62c202c (patch)
treeecb4e25b0fab25158f431229c6a931c4479dc35d /src
parent7647c9d8afd92e492bcbe536e2655d2e568fa852 (diff)
Documentation updates.
Diffstat (limited to 'src')
-rw-r--r--src/openal.c7
1 files changed, 4 insertions, 3 deletions
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;