• 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
Re: AU notify host that state is dirty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU notify host that state is dirty


  • Subject: Re: AU notify host that state is dirty
  • From: Olivier Tristan <email@hidden>
  • Date: Thu, 20 Oct 2011 11:35:20 +0200

On 10/19/2011 6:30 PM, Stefan Gretscher wrote:
Hi Olivier,

I am not aware of an official guideline how to deal with this, but you could try a property change notification
for kAudioUnitProperty_ClassInfo or kAudioUnitProperty_PresentPreset.

I'd assume listening to kAudioUnitProperty_PresentPreset is rather common, but may have quirks -
hosts could choose to observe this property only if your AU exports at least one factory presets,
or choose not to flag the state dirty when the preset number does not change.

Listening to kAudioUnitProperty_ClassInfo may not be as popular, but for this property I'd definitely expect dirty to be flagged.

If you decide to give this a try, I'd be curious to learn about your success with this in the various hosts...



Well I tried and it leads to some issue at least in DP.
I ended up creating a dummy parameter and fire a kAUParameterListener_AnyParameter and it works fine.
A bit sad but hey that's life :)


Thanks for the advices

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


References: 
 >AU notify host that state is dirty (From: Olivier Tristan <email@hidden>)
 >Re: AU notify host that state is dirty (From: Stefan Gretscher <email@hidden>)

  • Prev by Date: Re: Silent AudioRender/ExtAudio Recording Failure
  • Next by Date: Re: USB Audio streaming start
  • Previous by thread: Re: AU notify host that state is dirty
  • Next by thread: AudioConverterFillComplexBuffer returning paramErr on ALAC conversion
  • Index(es):
    • Date
    • Thread