1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Updated some documentation

This commit is contained in:
Tom Poole 2021-01-22 16:53:54 +00:00
parent 33dd896ab2
commit 9cc7e40c86

View file

@ -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;