[SOLVED] How to get current plugin format?


#1

On the info box on a plugin, I am trying to display a string with the version number and format.
Is there a method like isVst or is64bit, or getWrapperName or something similar so that I can display something like:
"Format: 32bit VST".

 

 

Thanks!


#2

http://learn.juce.com/doc/classSystemStats.php

Use the SystemStats class.

Rail


#3

Thank you!

That solved half of it. Now the only thing I haven't gotten is the audio plugin format.

I've looked into PluginDescription,AudioPluginFormat, and AudioPluginFormatManager.

I can't seem to  get the current instance because they always return blank for like getName()


#4

Check my post #14 in this thread

https://forum.juce.com/t/defaultapplogger-and-multiple-instances-of-plugin

Use that with your AudioProcessor class’ variable wrapperType.

Rail


#5

It was that enum in AudioProcessor that I was looking for. It was right under my nose.

Thank you for your help.

-Brian