Doing this doesn’t work, is there some other thing that has to be done to get the Tracktion Engine built-in plugin types to show in the menu? (VST plugins do show up and can be instantiated.)
The knownPluginList is a juce class so doesn’t know about the internal plugins.
We build our own menus (which include a bunch of non-Engine internal plugins and Racks etc.) in Waveform.
It would probably be a good idea to add a way to add all the built in plugins to a menu but there’s lots of decisions to be made based on categories, naming, what to do when an item is picked etc.
Some sensible defaults in an example app would be a good start though.
Hmm, not so stupid actually. There currently isn’t a way that I can see.
We’d need to provide access to the juce::OwnedArray<BuiltInType> builtInTypes; in PluginManager.
I’m having a look at this now but I’m not sure exposing the registered BuiltInTypes helps much. The only thing you can find from this is their xmlTypeName which isn’t really useful for populating menus.
I can’t really see how exposing the array would help with this. You’d still need to manually check all the built-in plugins for their xmlTypeName member when iterating the builtInTypes which is actually more work than accessing them directly.