yquake2remaster/src/client/sound/header
Yamagi Burmeister 548bbeb129 Pass raw "float" volume to OpenAL
The client uses float values between 0.0 and 1.0 to represent the volume
of sound samples. This is the range required by OpenAL. But the generic
part of the sound system multiplied the raw float value with 374 and
clamped it to a full integer. That worked by luck withth the OpenAL
backend but broke at least the silencer powerup. Solve this problem by
adding a new field "float oal_vol" to the channel_t struct and use it to
pass the raw float value to OpenAL.

This fixes issue #18
2013-01-20 12:00:29 +01:00
..
cdaudio.h Whitespace fixes. 2012-04-30 08:25:59 +02:00
local.h Pass raw "float" volume to OpenAL 2013-01-20 12:00:29 +01:00
sound.h Reformat the sound system code 2012-06-06 11:13:07 +02:00
vorbis.h Reformat the sound system code 2012-06-06 11:13:07 +02:00