clap
clap copied to clipboard
Adjust latency extension requirements
proposal after some discussion on Dischord.
- Someone reported that Bitwig and Reaper immediately call
plugin_latency->getafterhost_latency->changedgets called from the plugin during activation- solution: allow
plugin_latency->getto be called already duringplugin->activate
- solution: allow
- I think it does not make sense if
host_latency->changedis called beforeactivate.- solution: require
host_latency->changedto be called only duringplugin->activate - open question: should it be mandatory for the plugin to call
host_latency->changedduringactivateafter setting up its latency internally? (How do existing hosts handle the case that plugins do not callhost_latency->changedduring activation? Maybe you can tell how Bitwig handles it, @abique?)
- solution: require
Not sure whether the term being-activated is optimal. If you have better suggestions, please feel free to change it or suggest something else.