Re: AudioUnitHosting menu patch
Re: AudioUnitHosting menu patch
- Subject: Re: AudioUnitHosting menu patch
- From: Marc Poirier <email@hidden>
- Date: Mon, 11 Aug 2003 15:12:53 -0500 (CDT)
Thanks, but I had heard that in OS X, HLock and HUnlock were ineffectual
and unnecessary. Someone on the carbon-development listserv said it, I
think. Have you heard anything like that? Maybe I should try verifying
that...
Thanks,
Marc
P.S. - I also noticed, after posting my message, that the place where I
check if the handle is null is kind of goofy. Not terribly wrong, but a
weird order of steps...
On Mon, 11 Aug 2003, Bill Stewart wrote:
>
Nice look! I've added this to the SDK -
>
>
There's one thing you might want to do...
>
>
You should always lock handles before you dereference them - probably
>
doesn't matter in this case, but its a good habit to get into as the
>
memory that a handle points to can move on you (and locking will stop
>
that from occuring) - then its safe to derefence it.
_______________________________________________
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.