When calling effOpen, effSetSampleRate, and effSetBlockSize, we assume non-zero return values are failures.
The plugin in question returns 1 when calling effSetSampleRate.
Reading the documentation, it's not as explicit about this as it should be.
This link does say "always returns 0, unless otherwise defined."
I'm not aware of any other good way to test if a plugin open fails except for checking these return values, and this method works with most plugins. If anyone has any tips, we'd appreciate them.
Thanks.