• 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: Can anyone comment on Crashes in AUParameterSet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can anyone comment on Crashes in AUParameterSet?


  • Subject: Re: Can anyone comment on Crashes in AUParameterSet?
  • From: Marc Poirier <email@hidden>
  • Date: Tue, 27 May 2003 18:46:50 +0200 (CEST)

On Tue, 27 May 2003, Shai Shasag wrote:

> Thanks to all those who answered, much appreciated!
>
>
> I'm trying to check the arguments to AUParameterSet.
>
> My code looks like this:
>
> const AudioUnitParameter inParameter = {GetComponentInstance(),
> lParamID kAudioUnitScope_Global, 0};
> OSStatus cErr = ::AUParameterSet(nil, nil, &inParameter, newValue, 0);
>
> The 1st & 2nd parameters are nil and that's should be OK according to
> the documentation.
> I was worried about the third one being on the stack, if
> AUParameterSet returns before using the pointer this could be a
> problem.
> The 4th and 5th parameters are not pointers.
>
> So it might be that AUParameterSet is an async call? I would be
> surprised if it was.


I'm pretty positive that AUParameterSet is a convenience function that
calls AudioUnitSetParameter and AUParameterListenerNotify, and
AUParameterListenerNotify is asynchronous (the notifications go into a
queue and are read when the listeners' read loops next fire and pull
notifications out of the queue).

Marc
_______________________________________________
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: Can anyone comment on Crashes in AUParameterSet? (From: Shai Shasag <email@hidden>)

  • Prev by Date: Re: OT: Custom UI design tools
  • Next by Date: Re: OT: Custom UI design tools
  • Previous by thread: Re: Can anyone comment on Crashes in AUParameterSet?
  • Next by thread: Re: Can anyone comment on Crashes in AUParameterSet?
  • Index(es):
    • Date
    • Thread