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

Fixed compiler error in AUv3_Wrapper

This commit is contained in:
tpoole 2017-01-16 11:32:31 +00:00
parent d8ead14de4
commit d0b0644af0

View file

@ -931,7 +931,7 @@ private:
flags |= kAudioUnitParameterFlag_IsGlobalMeta;
// is this a meter?
if (((processor.getParameterCategory (index) & 0xffff0000) >> 16) == 2)
if (((processor.getParameterCategory (idx) & 0xffff0000) >> 16) == 2)
{
flags &= ~kAudioUnitParameterFlag_IsWritable;
flags |= kAudioUnitParameterFlag_MeterReadOnly | kAudioUnitParameterFlag_DisplayLogarithmic;