• 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: REPOST: AudioUnitSetParameter vs AUParameterSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >REPOST: AudioUnitSetParameter vs AUParameterSet (From: Evan Olcott <email@hidden>)
 >Re: REPOST: AudioUnitSetParameter vs AUParameterSet (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Need help to identify Audio Output issue
  • Next by Date: question about Technical Q&A QA1578
  • Previous by thread: Re: REPOST: AudioUnitSetParameter vs AUParameterSet
  • Next by thread: clipIfNecessary() errors with NSSound
  • Index(es):
    • Date
    • Thread