mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Added preprocessor macro JucePlugin_VSTChunkStructureVersion to support custom chunk VST versions
This commit is contained in:
parent
83d0854572
commit
80ff164ff1
1 changed files with 6 additions and 0 deletions
|
|
@ -302,7 +302,13 @@ public:
|
|||
vstEffect.latency = filter->getLatencySamples();
|
||||
vstEffect.effectPointer = this;
|
||||
vstEffect.plugInIdentifier = JucePlugin_VSTUniqueID;
|
||||
|
||||
#ifdef JucePlugin_VSTChunkStructureVersion
|
||||
vstEffect.plugInVersion = convertHexVersionToDecimal (JucePlugin_VSTChunkStructureVersion);
|
||||
#else
|
||||
vstEffect.plugInVersion = convertHexVersionToDecimal (JucePlugin_VersionCode);
|
||||
#endif
|
||||
|
||||
vstEffect.processAudioInplaceFunction = processReplacingCB;
|
||||
vstEffect.processDoubleAudioInplaceFunction = processDoubleReplacingCB;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue