Re: AudioUnitSetProperty() returns -10879
Re: AudioUnitSetProperty() returns -10879
- Subject: Re: AudioUnitSetProperty() returns -10879
- From: Stephen Blinkhorn <email@hidden>
- Date: Mon, 29 Jan 2007 18:00:10 +0000
On 27 Jan 2007, at 15:37, Stephen Blinkhorn wrote:
Hello all,
I am trying to update a parameter's min,max,default and unit values
in response to some parameter change. I'm having problems calling
AudioUnitSetProperty() from inside a parameter listener. It always
returns invalid property error:
AudioUnitSetProperty(thisAU, kAudioUnitProperty_ParameterInfo,
kAudioUnitScope_Global, kGlobalSynthType1, ¶mInfo, size);
..this call returns -10879.
Right, I see. You can't use kAudioUnitProperty_ParameterInfo with
AudioUnitSetProperty() it is intended only for use with
AudioUnitGetProperty(). So if I want to redefine a parameter's
min,max & unit values in response to a parameter change elsewhere
what is the best approach? Destroy the original and create a new
parameter?
TIA for any help,
Stephen.
_______________________________________________
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