Re: Can anyone comment on Crashes in AUParameterSet?
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.