Different channel configuration for different Plugin formats

projucer

#1

Hi,
I am working on a Plugin which is a sound generator. It has no inputs but streams mp3 files from internet. I have faced a conflict in my project settings.
If I set Plugin Channel Configuration in projucer to “{0,2}” then the au works but aaxplugin doesn’t work(protools does not show it in the list).
If I set Plugin Channel Configuration in projucer to “{2,2}” then the aaxplugin works, but au validation in Logic fails. Saying that generator Plugins cannot have inputs.
I can of course create two projucer files and two project files, but I would rather avoid this.
Can you please advice how to handle this problem?
BTW currently Plugin AU Main Type is set to kAudioUnitType_Generator, and Plugin AAX Category is set to AAX_ePlugInCategory_Dynamics. I also played around a little bit with these, and tried different types, none of them seem to allow both au and aaxplugin to work simultaneously.


#2

I figured it out just in case someone else faces the same problem.
aaxplugin works with 0 inputs, if you set it as Synth.