Re: AU notify host that state is dirty
Re: AU notify host that state is dirty
- Subject: Re: AU notify host that state is dirty
- From: Olivier Tristan <email@hidden>
- Date: Fri, 14 Oct 2011 10:55:07 +0200
On 10/11/2011 10:42 AM, Olivier Tristan wrote:
Hi Guys,
In my Audio Units, there is no parameters, but I would like to notify
the host that my state is dirty.
Reason is, some host like DP do not ask for saving if they don't see
changes in plugins
I've tried that
AudioUnitParameter changedUnit;
changedUnit.mAudioUnit = m_ci; // m_ci is my AudioUnit parameter given
in the ctor
changedUnit.mParameterID = kAUParameterListener_AnyParameter;
OSStatus err = AUParameterListenerNotify(NULL, NULL,&changedUnit);
but it doesn't work
Is there an issue because there is no parameter so
kAUParameterListener_AnyParameter does nothing ?
Or is DP forgot to listen to some property ?
What would be the best solution to fix this ?
I'm not a huge fan of creating a dummy parameter.
Thanks,
Any ideas ?
Thanks,
--
Olivier Tristan
Ultimate Sound Bank
_______________________________________________
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