Vst plugin version


#1

what about adding after setUniqueID in VstWrapper:

        getAeffect ()->version = (long) (JucePlugin_VersionCode);

this way a host can organize plugins/presets based on the plugin version.


#2

Yep, good idea!


#3

ah just to notice, i’ve found with the latest changes in the messaging code, linux build are broken, should be:

[code]BEGIN_JUCE_NAMESPACE
extern void juce_callAnyTimersSynchronously();

#if JUCE_MAC
extern void juce_macDoPendingRepaintsNow();
#elif JUCE_LINUX
extern Display* display;
extern bool juce_postMessageToSystemQueue (void* message);
#endif
END_JUCE_NAMESPACE[/code]

and

[code] ~SharedMessageThread()
{
signalThreadShouldExit();

    const int quitMessageId = 0xfffff321;
    Message* const m = new Message (quitMessageId, 1, 0, 0);

    if (! juce_postMessageToSystemQueue (m))
        delete m;

    clearSingletonInstance();
}[/code]

#4

Ah, thanks. I never build that bit, so hadn’t noticed. I’ll check in some fixes in a few minutes.


#5