Skip to content

Making you GUI from grund up #135

Answered by baconpaul
logos-maker asked this question in Q&A
Discussion options

You must be logged in to vote

The thread-pool is for audio processing, not for GUI processing. It is documented in the thread pool extension header with an example.

On mac and windows, there is the standard 'main thread' concept. If your plugin implements the gui extension documented here https://github.com/free-audio/clap/blob/main/include/clap/ext/gui.h you will get a callback on the main thread to reparent a window

On linux you will almost definitely need to implement the timer and perhaps posix-fd extensions to get callbacks from the host for idle timers or for file descriptors.

Hope that helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by logos-maker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants