Closed frabert closed 11 months ago
I think that clap_host->restart()
part is a leftover of an older version of the API. You call clap_host_params->rescan(CLAP_PARAM_RESCAN_ALL)
from the main thread when you want to change the number of parameters, or when changing parameter options that cannot be changed at runtime. But as noted in the flag's description, you should only actually report a different parameter count after the host has deactivated your plugin (as that could otherwise result in race conditions).
Thanks for the clarification! I guess the behavior I am observing in my plugin is a bug in the host itself then.
The comments state:
I'm not completely sure on what this means. Would this be correct?