Nope, still no luck. My code now looks like this:
CAAUParameter* ptrParameter = new CAAUParameter(GetComponentInstance(), iParameterIndex, kAudioUnitScope_Global, 0);
AudioUnitEvent paramEvent;
memset(¶mEvent, 0, sizeof(paramEvent));
paramEvent.mArgument.mParameter = *ptrParameter;
paramEvent.mEventType = kAudioUnitEvent_BeginParameterChangeGesture;
AUEventListenerNotify(NULL, NULL, ¶mEvent);
paramEvent.mEventType = kAudioUnitEvent_ParameterValueChange;
AUEventListenerNotify(NULL, NULL, ¶mEvent);
paramEvent.mEventType = kAudioUnitEvent_EndParameterChangeGesture;
AUEventListenerNotify(NULL, NULL, ¶mEvent);
delete ptrParameter;
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden