mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-03 22:41:16 +00:00
4cbe5f25e0
AL_PlayChannel() is only called by AL_AddLoopSounds() and S_IssuePlaysound() - but only the latter set a volume there. Because of that, loopsounds weren't hearable anymore after the last commit which removed adding s_volume to all volumes in AL_PlayChannel(). This is fixed by setting the volume for looped sounds in AL_AddLoopSounds() as well. Looped sounds don't seem to have a customizable volume and are always played at full volume (the volume is only changed by distance, but OpenAL does that automatically). |
||
---|---|---|
.. | ||
header | ||
ogg.c | ||
openal.c | ||
sound.c | ||
wave.c |