Re: dynamically add / remove parameter
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