Example #1
0
 /// <summary>
 /// 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.
 /// </summary>
 /// <param name="p_instance"></param>
 /// <param name="p_total"></param>
 /// <param name="p_dropped"></param>
 public static void NDIlib_recv_get_performance(IntPtr p_instance, ref NDIlib_recv_performance_t p_total, ref NDIlib_recv_performance_t p_dropped)
 {
     if (Is64Bit)
     {
         NDIlib64_recv_get_performance(p_instance, ref p_total, ref p_dropped);
     }
     else
     {
         NDIlib32_recv_get_performance(p_instance, ref p_total, ref p_dropped);
     }
 }
Example #2
0
 private static extern void NDIlib64_recv_get_performance(IntPtr p_instance, ref NDIlib_recv_performance_t p_total, ref NDIlib_recv_performance_t p_dropped);