Quote:
Originally Posted by Nonlinear
I have an aaxplugin that I cloned from another plugin that works successfully in Pro Tools. The new one, however, doesn't work. Pro Tools gives an error message when I try to load the plug (see attached).
Visual Studio debugger reports the following upon attempting to load the plugin:
Invalid parameter passed to C runtime function.
Exception thrown at 0x00007FFF06839129 (KernelBase.dll) in ProTools.exe: 0x000006BA: The RPC server is unavailable.
A possible difference between the plugin that does NOT work and the one that DOES work is that the faulty plugin reports latency to the host. Is there a special requirement - or place in the code blocks - for reporting plugin latency to Pro Tools? I am currently using GetSampleRate() followed by SetLatency() in the Reset() function (also called as the last step in the constructor).
Maybe it's something else entirely? IDK
Any help appreciated!
|
A little bit late but:
AAX->SetLatency() works perfectly in audio thread!