Re: REPOST: AudioUnitSetParameter vs AUParameterSet
Re: REPOST: AudioUnitSetParameter vs AUParameterSet
- Subject: Re: REPOST: AudioUnitSetParameter vs AUParameterSet
- From: Evan Olcott <email@hidden>
- Date: Tue, 13 May 2008 20:33:52 -0500
That was it, Bill, thanks!
Since it was a private custom AU, I didn't need to have that
implemented (I was just setting the parameters the owning app knew
them to be), so I never had written the code for it. I wrote an
override for GetParameterInfo and everything now works without a hitch.
On May 12, 2008, at 4:13 PM, William Stewart wrote:
Nowhere... except:
One of the things that AUParameterSet does is to get parameter info
- this can return that error if the AU returns it.
So, if you run auval on the audio unit where you are seeing this
problem, does it report all of its parameters (particularly the one
you are trying to set) correctly?
On May 10, 2008, at 8:41 PM, Evan Olcott wrote:
Under what circumstances would AudioUnitSetParameter return noErr and
AUParameterSet return kAudioUnitErr_InvalidParameter when given the
exact same values?
Stepping through the AU code shows that the parameter is indeed being
set and returns no error, but something inside AUParameterSet is
creating that error.
Whahappen?
(Additional note since the previous post: I am setting the
parameter to a custom AU. Is there something I'm forgetting to set
inside my custom AU?)
Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
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