in Source/AUPlugInDispatch.cpp [587:624]
AudioComponentMethod AUBaseLookup::Lookup(SInt16 selector)
{
switch (selector) {
case kAudioUnitInitializeSelect:
return (AudioComponentMethod)AUMethodInitialize; // NOLINT cast
case kAudioUnitUninitializeSelect:
return (AudioComponentMethod)AUMethodUninitialize; // NOLINT cast
case kAudioUnitGetPropertyInfoSelect:
return (AudioComponentMethod)AUMethodGetPropertyInfo; // NOLINT cast
case kAudioUnitGetPropertySelect:
return (AudioComponentMethod)AUMethodGetProperty; // NOLINT cast
case kAudioUnitSetPropertySelect:
return (AudioComponentMethod)AUMethodSetProperty; // NOLINT cast
case kAudioUnitAddPropertyListenerSelect:
return (AudioComponentMethod)AUMethodAddPropertyListener; // NOLINT cast
case kAudioUnitRemovePropertyListenerSelect:
return (AudioComponentMethod)AUMethodRemovePropertyListener; // NOLINT cast
case kAudioUnitRemovePropertyListenerWithUserDataSelect:
return (AudioComponentMethod)AUMethodRemovePropertyListenerWithUserData; // NOLINT cast
case kAudioUnitAddRenderNotifySelect:
return (AudioComponentMethod)AUMethodAddRenderNotify; // NOLINT cast
case kAudioUnitRemoveRenderNotifySelect:
return (AudioComponentMethod)AUMethodRemoveRenderNotify; // NOLINT cast
case kAudioUnitGetParameterSelect:
return (AudioComponentMethod)AUMethodGetParameter; // NOLINT cast
case kAudioUnitSetParameterSelect:
return (AudioComponentMethod)AUMethodSetParameter; // NOLINT cast
case kAudioUnitScheduleParametersSelect:
return (AudioComponentMethod)AUMethodScheduleParameters; // NOLINT cast
case kAudioUnitRenderSelect:
return (AudioComponentMethod)AUMethodRender; // NOLINT cast
case kAudioUnitResetSelect:
return (AudioComponentMethod)AUMethodReset; // NOLINT cast
default:
break;
}
return nullptr;
}