kAudioUnitProperty_Latency not working in Logic
kAudioUnitProperty_Latency not working in Logic
- Subject: kAudioUnitProperty_Latency not working in Logic
- From: Vojtěch Meluzín <email@hidden>
- Date: Thu, 07 Feb 2013 13:48:58 +0100
Hi, I'm using this code to notify the host about change of latency of a plugin:
AudioUnitEvent e;
e.mArgument.mProperty.mAudioUnit = Instance;//GetComponentInstance ();
e.mArgument.mProperty.mPropertyID = kAudioUnitProperty_Latency;
e.mArgument.mProperty.mScope = kAudioUnitScope_Global;
e.mArgument.mProperty.mElement = 0;
e.mEventType = kAudioUnitEvent_PropertyChange;
AUEventListenerNotify (paramListenerRef, NULL, &e);
Unfortunately it works only in a few hosts, excluding Logic as usual. What is wrong? It doesn't work if paramListenerRef is NULL nor if I create it like this:
AUListenerCreate (paramChangedListenerProc, plugin, CFRunLoopGetCurrent (), kCFRunLoopDefaultMode, 0.2, &plugin->paramListenerRef);
Thanks in advance,
Vojtech
_______________________________________________
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