- fixed: The OpenAL backend ignored PlaySound's 'volume' parameter.

This commit is contained in:
Christoph Oelckers 2015-11-25 13:00:56 +01:00
parent cd110f67df
commit 43dff3021b
1 changed files with 1949 additions and 1949 deletions

View File

@ -1349,7 +1349,7 @@ FISoundChannel *OpenALSoundRenderer::StartSound3D(SoundHandle sfx, SoundListener
alSourcei(source, AL_LOOPING, (chanflags&SNDF_LOOP) ? AL_TRUE : AL_FALSE);
alSourcef(source, AL_MAX_GAIN, SfxVolume);
alSourcef(source, AL_GAIN, SfxVolume);
alSourcef(source, AL_GAIN, SfxVolume*vol);
if(EnvSlot)
{