Re: plug-in GUI refresh problem in Logic
Re: plug-in GUI refresh problem in Logic
- Subject: Re: plug-in GUI refresh problem in Logic
- From: Airy André <email@hidden>
- Date: Sun, 25 Jul 2004 12:56:17 +0200
This brings me to the question :
Who is "officially" responsible for sending the notification after a
preset change ?
Is it the host or the AU ?
Apple AUHosting does it.
On the other hand, most AU seem to also implement this.
So, is it a host bug if notification is not sent or not ?
And if it is the AU job, I think it should be in the SDK classes...
There is not point all AU should override the RestoreState method just
that everybody get notified.
Airy
Le 24 juil. 04, ` 16:04, Marc Poirier a icrit :
You could try adding something like this to the end of RestoreState():
AudioUnitParameter dirtyParam;
memset(&dirtyParam, 0, sizeof(dirtyParam));
dirtyParam.mAudioUnit = GetComponentInstance();
dirtyParam.mParameterID = kAUParameterListener_AnyParameter;
dirtyParam.mScope = kAudioUnitScope_Global;
dirtyParam.mElement = 0;
AUParameterListenerNotify(NULL, NULL, &dirtyParam);
Marc
On Jul 24, 2004, at 4:24 AM, Os wrote:
I wondered if anyone else has come across (and ideally solved) this.
My AU GUI works fine in Logic, except that when switching between
stored presets ('Settings' in Logic-speak) the GUI does not refresh.
If I switch to the generic controls view, I can see the parameters
changing when I switch presets - but not when my custom GUI is
visible.
My GUI's based on Urs's SDK, but on the old pre-1.3.1 version, if
that helps.
cheers,
os.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.