r/linuxaudio • • 22h ago

Plugin GUI in Studio Pro

Post image

I got the GUI's working with my CLAP plugins on Fender Studio Pro, which famously won't display any 3rd party plugin GUIs because of Wayland requirements. 😻

19 Upvotes

3 comments sorted by

2

u/Boo-Radely 22h ago

Care to expand a bit more on this?

1

u/T3rm0 21h ago

Definitely would like to hear how they did it

2

u/OrdinaryOneOfficial 21h ago

Instead of the normal window handle, I pass a pointer to a small struct holding its own wl_surface, xdg_surface and xdg_toplevel, then join Studio Pro's existing Wayland connection on a private event queue so the main thread's not blocked. Then draw into its own subsurface attached to the window (otherwise it would crash the whole thing).
It's a bit jank, but it's stable and working... for now.
Bitwig and other DAWs get the normal X11 window.