[3.7-pre746+] Some looping sounds aren't cut off properly

Bugs that have been investigated and resolved somehow.

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.
Post Reply
User avatar
Lord Misfit
Posts: 221
Joined: Wed Dec 27, 2006 8:13 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Location: Canton, OH
Contact:

[3.7-pre746+] Some looping sounds aren't cut off properly

Post by Lord Misfit »

If you play LegendDoomLite or any variant of it, monsters will give off a looping noise of sorts when they go Legendary to alert the player when they are close by. However when they die, that looping sound always stopped. However since 3.7-pre746-ge83af1590 and later, killing a transformed Legendary monster no longer cuts off said looping sound, causing it to endlessly loop from the dead monster's position with no real way to stop it, which also throws off players trying to listen for other possible Legendary monsters.

You can test it w/ @ https://www.dropbox.com/s/zl95va502mcxs ... 0.pk3?dl=1 and set the mod's "Die.exe" option to "...has finished installing" and load a map to test it out immediately since that option makes all monsters turn Legendary instead of it being randomized.

Minor Edit for clarification: pre-733 still works as it should with the looping sound getting cut off when the enemy dies, the change is somewhere between 733 and 746 it seems.
Last edited by Lord Misfit on Sat Dec 08, 2018 8:26 pm, edited 2 times in total.
User avatar
Sumwunn
Posts: 54
Joined: Sat Jan 06, 2018 12:00 pm

Re: [3.7-pre746+] Some sounds aren't cut off properly in LDL

Post by Sumwunn »

Did some prodding:

https://github.com/coelckers/gzdoom/com ... 0ea994a551

Testing the build from this commit fixed linking of optimized POSIX targets does not have the looping sound bug.
The build from commit deprecated a few functions that depend on AAPTR_* to be useful does have the issue.

EDIT:
Maybe this has something to do with it?
https://github.com/coelckers/gzdoom/com ... 0afb0eL907
Last edited by Sumwunn on Sat Dec 08, 2018 9:20 pm, edited 1 time in total.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: [3.7-pre746+] Some sounds aren't cut off properly in LDL

Post by Marisa the Magician »

I've noticed the issue of looping sounds not stopping with other mods too.

Strangely, I don't see anything in that commit that could be responsible.
User avatar
Sumwunn
Posts: 54
Joined: Sat Jan 06, 2018 12:00 pm

Re: [3.7-pre746+] Some looping sounds aren't cut off properl

Post by Sumwunn »

I should clarify:

I do not mean that commit itself could be the issue alone, but rather any in-between those two are (lack of appveyor builds for those).
User avatar
Lord Misfit
Posts: 221
Joined: Wed Dec 27, 2006 8:13 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Location: Canton, OH
Contact:

Re: [3.7-pre746+] Some looping sounds aren't cut off properl

Post by Lord Misfit »

So I found out that in my specfic situation, the sound is activated by an inventory item that's given to the monster for a moment when they transform and then clears itself from the monster's inventory, so I thought I'd try to set it up the monster itself directly emits the sound instead of the item in their inventory and set it in ZScript to stop the sound when the monster dies, but it also fails to work, so I wonder if A_StopSound got broken somewhere, as suggested in the edited post Sumwunn mentioned above.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [3.7-pre746+] Some looping sounds aren't cut off properl

Post by Graf Zahl »

Does it also happen if you start GZDoom with '+vm_jit 0'?
User avatar
Lord Misfit
Posts: 221
Joined: Wed Dec 27, 2006 8:13 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Location: Canton, OH
Contact:

Re: [3.7-pre746+] Some looping sounds aren't cut off properl

Post by Lord Misfit »

This is actually NOT happening when vm_jit is 0. The sound cuts off just fine under that setting.

On the subject of "sound" related testing, is there a way to make the display text for the "noise" ccmd bigger, more like how the "stat [x]" readouts are? The text is pretty tiny in all honesty. x.x
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [3.7-pre746+] Some looping sounds aren't cut off properl

Post by _mental_ »

Fixed in f6bb337.
Post Reply

Return to “Closed Bugs [GZDoom]”