1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Changed the way the unique AAX plug-in id is generated to future proof it for any future channel formats Avid decide to add to AAX

This commit is contained in:
hogliux 2017-02-13 14:12:39 +00:00
parent 01aedca76d
commit eba76a8487

View file

@ -1335,7 +1335,7 @@ int32 AudioProcessor::getAAXPluginIDForMainBusConfig (const AudioChannelSet& mai
jassertfalse;
}
uniqueFormatId = (uniqueFormatId * 16) + aaxFormatIndex;
uniqueFormatId = (uniqueFormatId << 8) | aaxFormatIndex;
}
return (idForAudioSuite ? 0x6a796161 /* 'jyaa' */ : 0x6a636161 /* 'jcaa' */) + uniqueFormatId;