• 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: Shai Shasag <email@hidden>
  • Date: Tue, 27 May 2003 19:11:02 +0300

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.

Shai
_______________________________________________
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.

  • Follow-Ups:
    • Re: Can anyone comment on Crashes in AUParameterSet?
      • From: Doug Wyatt <email@hidden>
    • Re: Can anyone comment on Crashes in AUParameterSet?
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: Can anyone comment on Crashes in AUParameterSet?
  • 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