From 9cc7e40c8604b6b5965dcb8b6f06d9f11ea40e59 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Fri, 22 Jan 2021 16:53:54 +0000 Subject: [PATCH] Updated some documentation --- modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 4ee29755d5..21f72ec698 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -241,13 +241,13 @@ public: if (group == nullptr || group->getParent() == nullptr) return Vst::kRootUnitId; - // From the VST3 docs: + // From the VST3 docs (also applicable to unit IDs!): // Up to 2^31 parameters can be exported with id range [0, 2147483648] // (the range [2147483649, 429496729] is reserved for host application). auto unitID = group->getID().hashCode() & 0x7fffffff; // If you hit this assertion then your group ID is hashing to a value - // reserved by the VST3 SDK. Use a different group ID. + // reserved by the VST3 SDK. Please use a different group ID. jassert (unitID != Vst::kRootUnitId); return unitID;