Posted: 25 Feb 2018, 00:46
As I am writing more complex user modules, some programming concepts are arising !
Does any have details of the threads used for user module callbacks, e.g. the main processing audio thread, the message thread used for slow parameter callbacks, drawing, etc.
And does Usine call more than 1 thread at the same time in the same module ? In other words, if I process in the onProcess() and the onSettingsHasChanged() thread, might these occur at the same time and need thread-safe protections, mutexes etc. ?
Or does the SDK protect the user from thread interactions ?
Thanks,
Simon.
Does any have details of the threads used for user module callbacks, e.g. the main processing audio thread, the message thread used for slow parameter callbacks, drawing, etc.
And does Usine call more than 1 thread at the same time in the same module ? In other words, if I process in the onProcess() and the onSettingsHasChanged() thread, might these occur at the same time and need thread-safe protections, mutexes etc. ?
Or does the SDK protect the user from thread interactions ?
Thanks,
Simon.