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
