Closed michal-z closed 1 year ago
Thanks for the report. That function should never have been supported in the first place. This was a mistake on my part. I've updated the dev branch so that it just returns an error and triggers an assert when run in debug mode. Considering anyone who would have used it would have got a crash anyway this shouldn't cause any additional disruption. The assert will let the developer know at development time. I'll remove the function completely in version 0.12 which will be an API-breaking release.
Documentation states that it should be possible to change the type of the noise dynamically:
I get a crash when trying to change the noise type after calling
ma_noise_init()
. Looking at thema_noise_init()
code I can see:So, there is a dedicated init code for different noise types and this code is not executed when the noise type is changed dynamically with
ma_noise_set_type()
.