Programatically determine plug-in format?


#1

Hi all,

Forgive me if there’s a simple solution to this question that I’ve failed to notice. I wanted to know if there is a way to programatically determine whether the a plug-in I’m developing is being used as an AAX, VST or AU - reason being that multi-channel output bus order differs from DAW to DAW. It would be unnecessary for me to account for all DAWs but having some headsup about whether I’m in Pro Tools or Reaper would be advantageous. Maybe it would be best to allow a UI object that allows users to switch between different output formats themselves? Is this preferable plug-in programming practice?

Thanks for all the input


#2

PluginHostType

https://bill-auger.github.io/JUCE/doxygen/doc/classPluginHostType.html

or:

AudioProcessor::WrapperType

Rail


#3

Ha, that’s pretty much perfect. Thanks and sorry for the unnecessary question!