FR: macro to override AAX wrapper chunk ID


#1

I’m trying to port some old plugins to JUCE. A requirement is to preserve backwards compatibility with sessions saved with the old version.

I managed to make the JUCE version recall old sessions correctly in VST. In AudioUnit, I had to override JUCE_STATE_DICTIONARY_KEY so it is the same as the old version.

In AAX though I would need to override juceChunkType, but as a global variable I can’t change it without patching JUCE, which I would like to avoid as much as possible.

Could you add a macro, virtual function or whatever so I could override this value?


#2

Yup, sounds like a reasonable request. It’s on develop with commit 5a84396.


#3

Thanks!