|
|
@@ -281,7 +281,7 @@ public: |
|
|
|
filter->addListener (this);
|
|
|
|
|
|
|
|
cEffect.flags |= effFlagsHasEditor;
|
|
|
|
cEffect.version = (long) (JucePlugin_VersionCode);
|
|
|
|
cEffect.version = convertHexVersionToDecimal (JucePlugin_VersionCode);
|
|
|
|
|
|
|
|
setUniqueID ((int) (JucePlugin_VSTUniqueID));
|
|
|
|
|
|
|
@@ -1381,6 +1381,14 @@ private: |
|
|
|
HWND hostWindow;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
static inline long convertHexVersionToDecimal (const unsigned int hexVersion)
|
|
|
|
{
|
|
|
|
return (long) (((hexVersion >> 24) & 0xff) * 1000
|
|
|
|
+ ((hexVersion >> 16) & 0xff) * 100
|
|
|
|
+ ((hexVersion >> 8) & 0xff) * 10
|
|
|
|
+ (hexVersion & 0xff));
|
|
|
|
}
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
#if JUCE_WINDOWS
|
|
|
|
// Workarounds for Wavelab's happy-go-lucky use of threads.
|
|
|
|