Where to? Load files

i need to load (audio) files and I don’t like this right click thing.
When I do this in the audio process it stops the playback.
So - any thoughts or hints would be great :wink:


You could load the entire buffer in the main thread (which is where MenuItem::onAction is called for example), in a stream in your own thread which is created/destroyed on Module construction/destruction, or asynchronously in the engine thread with open() and O_NONBLOCK for example.
You have many options here.