• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AU notify host that state is dirty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU notify host that state is dirty


  • Subject: AU notify host that state is dirty
  • From: Olivier Tristan <email@hidden>
  • Date: Tue, 11 Oct 2011 10:42:07 +0200

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,

--
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


  • Follow-Ups:
    • Re: AU notify host that state is dirty
      • From: Stefan Gretscher <email@hidden>
    • Re: AU notify host that state is dirty
      • From: Olivier Tristan <email@hidden>
  • Prev by Date: MIDIPacketListAdd questions
  • Next by Date: Re: Calling MIDIPacketListAdd from NSTimer
  • Previous by thread: MIDIPacketListAdd questions
  • Next by thread: Re: AU notify host that state is dirty
  • Index(es):
    • Date
    • Thread