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

AAX: Fixed some warnings in the AAX wrapper

This commit is contained in:
ed 2020-04-27 18:38:38 +01:00
parent dd2395800e
commit 428a7caf55

View file

@ -299,6 +299,12 @@ namespace AAXClasses
case AAX_eStemFormat_Ambi_1_ACN: return AudioChannelSet::ambisonic (1);
case AAX_eStemFormat_Ambi_2_ACN: return AudioChannelSet::ambisonic (2);
case AAX_eStemFormat_Ambi_3_ACN: return AudioChannelSet::ambisonic (3);
case AAX_eStemFormat_Reserved_1:
case AAX_eStemFormat_Reserved_2:
case AAX_eStemFormat_Reserved_3:
case AAX_eStemFormatNum:
case AAX_eStemFormat_Any:
case AAX_eStemFormat_INT32_MAX:
default: return AudioChannelSet::disabled();
}
}
@ -315,6 +321,10 @@ namespace AAXClasses
case AudioProcessorParameter::compressorLimiterGainReductionMeter: return AAX_eMeterType_CLGain;
case AudioProcessorParameter::expanderGateGainReductionMeter: return AAX_eMeterType_EGGain;
case AudioProcessorParameter::analysisMeter: return AAX_eMeterType_Analysis;
case AudioProcessorParameter::genericParameter:
case AudioProcessorParameter::inputGain:
case AudioProcessorParameter::outputGain:
case AudioProcessorParameter::otherMeter:
default: return AAX_eMeterType_Other;
}
}
@ -327,6 +337,7 @@ namespace AAXClasses
case AAX_eHighlightColor_Blue: return Colours::blue;
case AAX_eHighlightColor_Green: return Colours::green;
case AAX_eHighlightColor_Yellow: return Colours::yellow;
case AAX_eHighlightColor_Num:
default: jassertfalse; break;
}