There is no reliable way to reproduce this but at times when starting the game, sounds that are sometimes played are cut off sporadically and it happens with almost every sound. It seems like this could be caused by an uninitialized variable perhaps.
Most of the time this doesn't happen but I've noticed on rare occasion, sounds behave weirdly and either cut each other off or or just stop others when playing new ones. The only fix for it is usually to restart GZDoom but even that may sometimes fail to fix it.
To clarify, the cutting off is not a result of overtime playing. It'll be present at the very start of gameplay of any sort. Hence I suspect something might not be initializing. I'm still trying to replicate the exact behavior on what causes it - I think it's whenever something plays one sound, and then another actor plays the exact same (and the sound I'm playing is a $random sound which makes it even more strange).
I'll report back here when I find out more on the behavior when I stumble across it.
[Since ZMusic] Sounds sometimes cut off
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Major Cooke
- Posts: 8208
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
- Contact:
- drfrag
- Vintage GZDoom Developer
- Posts: 3178
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: [Since ZMusic] Sounds sometimes cut off
Since exactly when? Sound refactor? Update to OpenAL 1.20?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Since ZMusic] Sounds sometimes cut off
I'd try swapping out OpenAL for the old 1.19 version and retest. ZMusic is unlikely to be responsible because it's only used as a sound data reader.