Content-Length: 224665 | pFad | http://github.com/zig-gamedev/zig-gamedev/issues/754

EB audio_experiments_wgpu hits unreachable code when noise type is changed · Issue #754 · zig-gamedev/zig-gamedev · GitHub
Skip to content

audio_experiments_wgpu hits unreachable code when noise type is changed #754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hazeycode opened this issue May 5, 2025 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@hazeycode
Copy link
Member

hazeycode commented May 5, 2025

If you run the audio_experiments_wgpu example and change the noise type then unreachable is hit. ma_noise_set_type is deprecated by miniaudio. Note the following from miniaudio.h:

    This function should never have been implemented in the first place. Changing the type dynamically is not
    supported. Instead you need to uninitialize and reinitialize a fresh `ma_noise` object. This function
    will be removed in version 0.12.

We should also just delete Noise.setType from our zaudio bindings as to not lead users to a dead end.

@hazeycode hazeycode added bug Something isn't working good first issue Good for newcomers and removed bug Something isn't working labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/zig-gamedev/zig-gamedev/issues/754

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy