• 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: AudioUnitEvent Listener
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnitEvent Listener


  • Subject: Re: AudioUnitEvent Listener
  • From: Marc Poirier <email@hidden>
  • Date: Thu, 19 Feb 2004 14:10:03 -0500 (EST)

One thing is that you don't want scope of AnyParameter. Most likely the
scope for the parameters you want is 0, unless you have some reason to
know that the AU also has parameters on other scopes.

The only other thing I can think of is if m_listenerRef is null, if you
didn't AUListenerCreate it, or if that failed.

Marc



On Thu, 19 Feb 2004, Robert Grant wrote:

> A follow up - rereading the docs, headers etc helped me find:
> kAUParameterListener_AnyParameter which answers my question about
> watching for any parameters. However when I try to add this parameter
> to my listener (which was successfully created) I get -50!
>
> Here's my code for setting up the parameter:
>
> AudioUnitParameter param;
> param.mParameterID = kAUParameterListener_AnyParameter;
> param.mAudioUnit = m_unit;
> param.mScope = kAUParameterListener_AnyParameter;
> param.mElement = kAUParameterListener_AnyParameter;
>
> status = AUListenerAddParameter(m_listenerRef, self, &param);
>
> // status returns with -50
>
> Thanks for any pointers,
>
> Robert.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: AudioUnitEvent Listener (From: Robert Grant <email@hidden>)

  • Prev by Date: Re: AudioUnitEvent Listener
  • Next by Date: GB, kAudioUnitProperty_ClassInfo and Beach Balls
  • Previous by thread: Re: AudioUnitEvent Listener
  • Next by thread: AudioConverterFillBuffer failure
  • Index(es):
    • Date
    • Thread