Example #1
0
 // Get the current performance structures. This can be used to determine if you have been calling NDIlib_recv_capture fast
 // enough, or if your processing of data is not keeping up with real-time. The total structure will give you the total frame
 // counts received, the dropped structure will tell you how many frames have been dropped. Either of these could be NULL.
 public static void recv_get_performance(IntPtr p_instance, ref recv_performance_t p_total, ref recv_performance_t p_dropped)
 {
     if (IntPtr.Size == 8)
     {
         UnsafeNativeMethods.recv_get_performance_64(p_instance, ref p_total, ref p_dropped);
     }
     else
     {
         UnsafeNativeMethods.recv_get_performance_32(p_instance, ref p_total, ref p_dropped);
     }
 }
Example #2
0
 internal static extern void recv_get_performance_32(IntPtr p_instance, ref recv_performance_t p_total, ref recv_performance_t p_dropped);