Repository navigation
CLAP_RENDER_REALTIME usage question #504
|
I am looking into the CLAP API since I need to develop a plugin which requires a constant processing rate to be used (no offline rendering allowed for example), and from my understanding the CLAP_EXT_RENDER extension seems to allow to implement what I am looking for. Since I have found no examples online at the moment, I read the info in the https://github.com/free-audio/clap/blob/main/include/clap/ext/render.h header and implemented the extension like this: bool render_has_hard_realtime_requirement(const clap_plugin_t *plugin) { return true; }
bool render_set(const clap_plugin_t *plugin, clap_plugin_render_mode mode) {
return mode == CLAP_RENDER_REALTIME;
}
static const clap_plugin_render_t render = {
.has_hard_realtime_requirement = render_has_hard_realtime_requirement,
.set = render_set,
};Does this configuration guarantee (on hosts what implement the extension) that each processing call will be issued at a constant rate (presumably at the ratio of |
Answered by
defiantnerd
Apr 30, 2026
Replies: 1 comment 1 reply
|
This exactly what the extension is intended for. |
1 reply
Answer selected by
J0ySF
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This exactly what the extension is intended for.