Skip to content

audio_experiments_wgpu hits unreachable code when noise type is changed #754

@hazeycode

Description

@hazeycode

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions