I currently working on a plugin that can load samples. Not very big samples, but samples :) There are two ways to load a sample:
1. The host loads the plugin and a preset.
2. The user changes the preset or loads a new sample.
What is the best way to do this in a plugin. Just load it synchronous or create a thread for this?
What thread type would you choose if a thread is the solution?
What's the best way to notify the UI that the loading thread is finished?
Any help is welcome.