• 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: AudioUnitSetProperty() returns -10879
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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, &paramInfo, 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
  • Follow-Ups:
    • Re: AudioUnitSetProperty() returns -10879
      • From: Stefan Gretscher <email@hidden>
References: 
 >AudioUnitSetProperty() returns -10879 (From: Stephen Blinkhorn <email@hidden>)

  • Prev by Date: Re: Coreaudio-api Digest, Vol 4, Issue 24
  • Next by Date: Re: Audio Unit UIs in Java (JNI) App
  • Previous by thread: AudioUnitSetProperty() returns -10879
  • Next by thread: Re: AudioUnitSetProperty() returns -10879
  • Index(es):
    • Date
    • Thread