How can I detect whether my effect is activated/dactivated in the FxPlug API

I'd like to react to changes of the activated/deactivated state of my plugin in FCPX/Motion, but I can't seem to find any info on how to achieve that in the FxPlug API.


Attaching the debugger I can see that the host calls into parameterChanged: with parmID=1 once I click on the Fx bypass checkbox in FCPX.


However, I already have a parameter that's mapped to paramID 1 and I wouldn't be abgle to remap it without breaking compatibility with sessions saved with existing versions of our plugins.


I also tried removing the mentioned parameter in order to retieve param 1's state as a BOOL via the FxParameterRetrievalAPI presuming it reflects the desired bypass state...without success, however, since getBoolValue:fromParm:atTime: always returns NO for that parameter.


Any hints?


Thank you!

There's no way to achieve this at this time. If you'd like to see this functionality, please file a feedback request and include a description of what you're trying to achieve by doing this.

How can I detect whether my effect is activated/dactivated in the FxPlug API
 
 
Q