dsempty interrupts playing sounds

Post bugs that have to do with sound and/or in-game music here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

dsempty interrupts playing sounds

Postby Nell Pezzletan » Fri Dec 04, 2020 3:13 pm

If a sound is defined as dsempty, it will still interrupt playing sounds on the given channel.

http://edthebat.com/doom/dsemptytest.pk3
In this demo, press Use against the wall to begin a sound, then jump (not just walk off) from the ledge onto the floor below. The silenced landing sound will still stop the Use sound

Tested with gzdoom-x64-g4.6pre-20-g51adcd45e (most recent at time of this writing)
Nell Pezzletan
 

Re: dsempty interrupts playing sounds

Postby Graf Zahl » Sat Dec 05, 2020 4:35 am

That's because dsempty is not 'no sound' but just a silent sound. The engine never checks its content, but since what you define is not sound index 0 it is still being treated as a valid sound by the high level code.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: dsempty interrupts playing sounds

Postby Cornelius Snodhood » Sat Dec 05, 2020 10:46 am

It used to work like that for years. If that's changing, then is there a new way to have 'no sound' defined?
Cornelius Snodhood
 


Return to Audio/Music Bugs

Who is online

Users browsing this forum: No registered users and 0 guests