Realtime safety requirements for the logging extension #185
-
The logging extension mentions that the logging callbacks must be callable from any thread: https://github.com/free-audio/clap/blob/main/include/clap/ext/log.h My question is, should the plugin also assume that calling these from a process function is realtime safe? (for as far as logging can be realtime safe) I assume not, but I thought I'd get some clarification first. I was considering how to support the extension in yabridge, and the options are to either a) not support it at all, b) proxy the callbacks as normal (meaning that there will be an allocation for an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The host should be able to deal with it up to some extents, in worst case the host simply drops the log message. |
Beta Was this translation helpful? Give feedback.
The host should be able to deal with it up to some extents, in worst case the host simply drops the log message.