Update ma_noise_set_type() to prevent a crash.
Updating the noise type should not be supported. An oversight on my part. Users should reinitialize a fresh `ma_noise` object instead. This change simply returns an error and triggers an assert in debug mode. Public issue: https://github.com/mackron/miniaudio/issues/585
Showing
Please register or sign in to comment