Long running task

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
Post Reply
User avatar
Posts: 133
Joined: Sun Mar 11, 2018 5:57 pm
Location: Las Vegas, USA

Long running task

Post by pongasoft »


I have a task (resampling in this case) that happens after the user clicks on some button. I was wondering what is the recommended approach to handle a task like this which is going to take a while to complete in order to prevent the UI to be frozen while it happens. I have done GUI work in the past (like Android) and usually you can spawn a thread or similar to do that and then when complete you can post a message to the main UI queue.

How would this work with VSTGUI?


Arne Scheffler
Posts: 414
Joined: Mon Jun 20, 2016 7:53 am

Re: Long running task

Post by Arne Scheffler »

Hi Yan,
there's no support for async tasks in VSTGUI for plug-ins. You've to roll your own.


Post Reply