yquake2remaster/src/client/sound
Daniel Gibson 4cbe5f25e0 Fix volume of looped sounds in OpenAL backend, fixes #111
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).
2015-11-02 01:48:52 +01:00
..
header Add underwater sfx for SDL backend 2014-06-16 08:45:39 +03:00
ogg.c Add a cvar to switch behavior when misc track 0 is requested 2015-10-19 18:18:44 +02:00
openal.c Fix volume of looped sounds in OpenAL backend, fixes #111 2015-11-02 01:48:52 +01:00
sound.c Uncouple s_volume from raw samples (Ogg playback and cinematics) 2015-11-01 18:02:22 +01:00
wave.c Rename snd_wav.c to wave.c to get in line with other files 2013-04-21 11:32:20 +02:00