cleolibrary / CLEO5

CLEO 5 for GTA San Andreas
https://cleo.li
MIT License
57 stars 6 forks source link

Rewritten 3D audio streams processing. #195

Closed MiranDMC closed 2 months ago

MiranDMC commented 2 months ago

Screen fade now affects CLEO audio in same way as other ingame sounds. Implemented distance volume decay curve for 3d streams to match other ingame sounds. Fixed Doppler effect calculations, fixed audio glitches. Fixed audio glitches when switching camera, switching to main menu, minimizing game etc. Coordinates system used in BASS now is same as in game. Volume and speed stream parameters moved into generic array in preparation for future additional parameters. Audio system processing moved further in logic chain so it can use results from previous steps.