LAGonauta / MetaAudio

GoldSrc engine plugin for 3D sound
GNU General Public License v2.0
98 stars 14 forks source link

[Bug] Instant crash on certain .wav file. #38

Closed lespaul64 closed 3 weeks ago

lespaul64 commented 2 years ago

My CS1.6 client instantly crashed when this sound play.

Client version:

] version Protocol version 48 Exe version 1.1.2.7 (cstrike) Exe build: 19:53:27 Aug 3 2020 (8684)

I attached the sound file for you to investigate. crashsound.zip

lespaul64 commented 2 years ago

Hi, i just want to say sorry this false bug report, i just discovered the sound file is not cause the crash but the amxx function call emit_sound with CHAN_STREAM is the main culprit. So this metaaudio is not compatible with emit_sound using CHAN_STREAM flag. I just change the flag to CHAN_VOICE and client is not crash at all.