Skip to content

Clarification of flush() #123

Answered by tim-janik
tim-janik asked this question in Q&A
Jun 27, 2022 · 4 comments · 4 replies
Discussion options

You must be logged in to vote

I'd like to close this (mark as answered) but the reply from @signaldust cannot be marked as such.
So here is the relevant snippet from #131 that should clear things up:

   // Request a parameter flush. Note that this is not useful to call from an
   // [audio-thread], because a plugin executing within any [audio-thread] is either:
   //   1. within process() (which may include clap_plugin_thread_pool->exec)
   //   2. within flush()
   //
   // The host will then schedule a call to either:
   // - clap_plugin.process()
   // - clap_plugin_params->flush()
   //
   // This function is always safe to use and must not be called on the [audio-thread].
   // [thread-safe,!audio-thread]
   void (*

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@robbert-vdh
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@robbert-vdh
Comment options

@signaldust
Comment options

@tim-janik
Comment options

Comment options

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