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: Marc Poirier <email@hidden>
- Date: Sat, 24 Jul 2004 10:04:26 -0400
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.