I'd like a visual difference in what plug-in type is currently running, AAX or VST3 or VST etc?


#1

How do I discern what is currently compiling?

I’ve tried:

 #ifndef _AAX_H_ 
// ...This is not AAX plug-in code...
#endif

But it seems to be present in all plug-in types

Thanks,
Dave H.


#2

you can check the AudioProcessor::wrapperType at runtime:

if (processor->wrapperType == AudioProcessor::wrapperType_VST)
   ...

#3

Thank-you for the quick answer I just couldn’t figure it out. That’s perfect.