Closed Bremmers closed 2 years ago
Good point!
Yes if CLAP_EVENT_TRANSPORT
is filtered, then clap_process.transport
may be null.
Fixed in https://github.com/free-audio/clap/commit/fe29583ae1b4c22c669123da9935ff452d878347
I've forgot the #
in the commit message.
Does clap_plugin_event_filter.accepts(... CLAP_EVENT_TRANSPORT) apply to clap_process.transport?
If yes: This should be documented
If no: Perhaps it should. Calculating tempo and timesig isn't a trivial operation, so you might want to avoid doing that for plugins that don't need it anyway. Perhaps not as big an issue as it used to be with today's computers, but it does add up, especially when audio buffer size is small.