• 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: dynamically add / remove parameter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dynamically add / remove parameter


  • Subject: Re: dynamically add / remove parameter
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Mon, 17 Aug 2009 09:49:26 -0600

Hi Stefan,

If you are replacing one parameter with another you need to do something like:

PropertyChanged(kAudioUnitProperty_ParameterInfo, kAudioUnitScope_Global, 0);

But, this wasn't very widely supported the last time I tried it. For example, some hosts will update min and max values but neglect the parameter name strings whereas other hosts simply do nothing.

I never tried re-initializing the AU though..

Stephen


On 16 Aug 2009, at 15:55, Stefan Kirch wrote:

Hi lIst,

what would be the recommended (most elegant without hacking) way of adding / removing parameters to / from an AudioUnit (Cocoa view) during runtime, and how do i notify the AudioUnit host about these changes. Is this possible without having to initialize my AudioUnit again with a new set of parameters?

Any help, thoughts, links are highly appreciated,

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

_______________________________________________ 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: 
 >dynamically add / remove parameter (From: Stefan Kirch <email@hidden>)

  • Prev by Date: Re: IAC timing/AU Midi sending
  • Next by Date: Re: dynamically add / remove parameter
  • Previous by thread: Re: IAC timing/AU Midi sending
  • Next by thread: Re: dynamically add / remove parameter
  • Index(es):
    • Date
    • Thread