Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External UI is unusable #86

Open
riban-bw opened this issue Jul 7, 2024 · 0 comments
Open

External UI is unusable #86

riban-bw opened this issue Jul 7, 2024 · 0 comments

Comments

@riban-bw
Copy link

riban-bw commented Jul 7, 2024

Some LV2 plugins provide their own GUI that they can host themselves, not dependant on the LV2 host. This is launched with the show_external_ui call. An example LV2 with this feature is synthv1. The LV2 plugin needs to have its idle function called peridically to allow it to perform functions such as update its GUI. This only happens in mod-host when there is a socket connection and a command is processed, i.e. the LV2 plugin's GUI is only updated after a mod-host command over socket. It won't work at all with the CLI.

The GUI does function, i.e. changes made on the GUI seem to take affect but the GUI is not updated with those changes until mod-host receives a command.

The call to effects_idle_external_uis is within the socket recv handler. For this to work we probably need effects_idle_external_uis to be called more regularly in its own (or another appropriate) thread. We could use poll instead of socket.recv to allow timeout and subseqent effects_idle_external_uis call but this does not fix it not working in the CLI (interactive) mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant