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: Migrate Host State and Timer #886

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

CLAP: Migrate Host State and Timer #886

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

Comments

@mfisher31
Copy link
Member

These extensions are already implemented in plain C. Migrate that to the c++ interface in these callbacks in the Clap provider.

      // clap_host_state
      virtual bool implementsState() const noexcept { return false; }
      virtual void stateMarkDirty() noexcept {}

      // clap_host_timer_support
      virtual bool implementsTimerSupport() const noexcept { return false; }
      virtual bool timerSupportRegisterTimer(uint32_t periodMs, clap_id *timerId) noexcept { return false; }
      virtual bool timerSupportUnregisterTimer(clap_id timerId) noexcept { return false; }
@mfisher31 mfisher31 added the clap Something CLAP related. label Feb 7, 2025
@mfisher31 mfisher31 moved this to Ready in Element 1.1.x Feb 7, 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
Status: Ready
Development

No branches or pull requests

1 participant