示例#1
0
 internal void UnregisterCue(IntPtr ptr)
 {
     lock (xactPtrs)
     {
         if (!xactPtrs.ContainsKey(ptr))
         {
             return;
         }
         notificationDesc.type = FAudio.FACTNOTIFICATIONTYPE_CUEDESTROYED;
         notificationDesc.pCue = ptr;
         FAudio.FACTAudioEngine_UnRegisterNotification(
             handle,
             ref notificationDesc
             );
         xactPtrs.Remove(ptr);
     }
 }