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

CLAP: Dont Run Blind TImers #905

Open
mfisher31 opened this issue Feb 16, 2025 · 0 comments
Open

CLAP: Dont Run Blind TImers #905

mfisher31 opened this issue Feb 16, 2025 · 0 comments
Labels
clap Something CLAP related.

Comments

@mfisher31
Copy link
Member

From discord:

so here's the thing

the timer support exists basically for linux. Most plugins on windows and macos just know they are on the UI thread and use CFTimer and some such and so won't register a timer with you.

Although some hosts do support the timer extension on mac and win, most plugins wont use it. On linux where the concept of 'main thread' is more nebulous because of X and Wayland, we delegate to the host to be able to schedule on the plugin ui thread (and similarly to respond to event handles with the posix fd extension)

If the plugin doesn't call register timer it doesn't expect regular timer callbacks. It will call request callback if it wants a single callback (edited)

@mfisher31 mfisher31 added the clap Something CLAP related. label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clap Something CLAP related.
Projects
Status: No status
Development

No branches or pull requests

1 participant