1
0
Fork 0

Update reasoning for clearing last param ID bit

This commit is contained in:
Robbert van der Helm 2022-04-08 00:02:28 +02:00
parent 9740246d0a
commit 2a4a61947f

View file

@ -27,7 +27,8 @@ pub fn hash_param_id(id: &str) -> u32 {
); );
} }
// Studio One apparently doesn't like negative parameters, so JUCE just zeroes out the sign bit // In VST3 the last bit is reserved for parameters provided by the host
// https://developer.steinberg.help/display/VST/Parameters+and+Automation
hash &= !(1 << 31); hash &= !(1 << 31);
hash hash