• 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: AUListenerAddParameter returns -50
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUListenerAddParameter returns -50


  • Subject: Re: AUListenerAddParameter returns -50
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Mon, 22 Jan 2007 17:49:49 +0000

I fixed this..

On 19 Jan 2007, at 21:15, Stephen Blinkhorn wrote:

Hello all, I am having problems with a AUListenerAddParameter call that is returning an OSStatus of -50 which I believe is a parameter error.

synthTypeParam.mAudioUnit = inComponentInstance;
synthTypeParam.mScope = kAudioUnitScope_Global;
synthTypeParam.mElement = 0;
synthTypeParam.mParameterID = kGlobalSynthType1;
OSStatus status = AUListenerAddParameter(parameterListener, this, &synthTypeParam);


I am not sure about my use of inComponentInstance which I get from my audio unit's constructor for example:

MySynth::MySynth(ComponentInstance inComponentInstance) : AUMonotimbralInstrumentBase(inComponentInstance, 0, 1).

Everything else looks ok to me.  Can anyone see what I'm missing?

thanks,
Stephen.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


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
References: 
 >AUListenerAddParameter returns -50 (From: Stephen Blinkhorn <email@hidden>)

  • Prev by Date: Re: Jack at the OS level? No way!
  • Next by Date: Re: Vector Based Panning with Hexagonal or Octagonal?
  • Previous by thread: AUListenerAddParameter returns -50
  • Next by thread: Decoding raw AMR
  • Index(es):
    • Date
    • Thread