mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-13 22:11:13 +00:00
548bbeb129
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 |
||
---|---|---|
.. | ||
header | ||
menu | ||
sound | ||
cl_cin.c | ||
cl_console.c | ||
cl_download.c | ||
cl_effects.c | ||
cl_entities.c | ||
cl_input.c | ||
cl_inventory.c | ||
cl_keyboard.c | ||
cl_lights.c | ||
cl_main.c | ||
cl_network.c | ||
cl_parse.c | ||
cl_particles.c | ||
cl_prediction.c | ||
cl_screen.c | ||
cl_tempentities.c | ||
cl_view.c |