That's pretty cool. I changed the code to use HX_LOCK and HX_UNLOCK on head
(where the macros exist) and have gone ahead with the commits on head and
150Cay.
Thanks.
--Bob
At 03:10 PM 8/3/2006, Greg Wright wrote:
HX_RESULT
CAudioOutOSX::_Imp_Write(const HXAudioData* pAudioOutHdr)
{
HX_ADDREF(pAudioOutHdr->pData);
if (zm_pMutex)
{
zm_pMutex->Lock();
}
You can use HXLOCK(zm_pMutex) and HXUNLOCK(zm_pMutex), they will do the
NULL check for you if you want.
rest looks good.
--greg.
_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev