4.14's openal update causes muffled sound effect

Is there something that doesn't work right in the latest GZDoom? Post about it 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!
User avatar
kevansevans
Spotlight Team
Posts: 430
Joined: Tue Oct 05, 2010 12:04 am
Graphics Processor: nVidia with Vulkan support

4.14's openal update causes muffled sound effect

Post by kevansevans »

Link to github issue: https://github.com/ZDoom/gzdoom/issues/2865

Video showcasing the discrepancy: https://www.dropbox.com/scl/fi/hz8rsqkf ... 4wl8a&dl=0

This does not happen in 4.13, and if you replace the openal32.dll found in 4.14 with the one in 4.13, the issue goes away.
User avatar
phantombeta
Posts: 2147
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: 4.14's openal update causes muffled sound effect

Post by phantombeta »

The "Default" audio resampler option seems to default to "4-Point Gaussian" now instead of "Linear" as it previously did.
User avatar
Chris
Posts: 2960
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: 4.14's openal update causes muffled sound effect

Post by Chris »

phantombeta wrote: Thu Dec 19, 2024 5:21 pm The "Default" audio resampler option seems to default to "4-Point Gaussian" now instead of "Linear" as it previously did.
The previous resampler (since OpenAL Soft 1.23) was Cubic Spline, before that it was Linear. OpenAL Soft 1.24 added a new 4-Point Gaussian resampler and made it the default. There will likely be a 1.24.2 release soon that changes the default back to Cubic Spline since many people find it too distracting, particularly with low sample rate sounds. In the mean time, GZDoom does have an option to change the resampler so you can set it back to Cubic Spline or Linear (or Nearest, or one of the Sinc options), whichever you like best and your CPU is fast enough for.
User avatar
Rachael
Posts: 13884
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: 4.14's openal update causes muffled sound effect

Post by Rachael »

I generally like to ship the newest OpenAL's on every release, but if it's necessary for GZDoom to change its CVAR default for the resampler request so that OpenAL can maintain a separate default for other projects that is doable, but probably not preferable.

I have it set to nearest in both my GZDoom and Raze config, so I didn't even notice the problem when it was first reported, but then I listened to Kev's video showing the change and it was very obvious and I have to say it did sound worse.

Return to “Bugs [GZDoom]”