I'm writting a plugin exclusively for REAPER so I want to use some of it's extensions API. That API is regularly used by REAPER extensions (for example, SWS: https://github.com/Jeff0S/sws ) but VST plugins can use it too.
Documentation (http://www.cockos.com/reaper/sdk/vst/vst_ext.php#vst_host) specifies that we must use audioMasterCallback to obtain pointers to those API functions.
However, it seems that JUCE is hiding that from us (I can understand how this can be a wise decision in a system which supports multiple plugin formats). Is there some "normal" way of obtaining audioMasterCallback pointer? I've been thinking about patching JUCE for that, but that would mean I would have to repatch it every time I update it but that doesn't seems as elegant.