2006-05-19 19:24:35 +00:00
|
|
|
|
2006-08-04 04:00:43 +00:00
|
|
|
[DllImport("gstreamersharpglue-0.10")]
|
2006-06-04 13:11:24 +00:00
|
|
|
private extern static ulong gstsharp_gst_clock_get_gst_second();
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-07-12 21:49:32 +00:00
|
|
|
public static readonly ulong Second = gstsharp_gst_clock_get_gst_second();
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-08-04 04:00:43 +00:00
|
|
|
[DllImport("gstreamersharpglue-0.10")]
|
2006-06-04 13:11:24 +00:00
|
|
|
private extern static ulong gstsharp_gst_clock_get_gst_msecond();
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-07-12 21:49:32 +00:00
|
|
|
public static readonly ulong MSecond = gstsharp_gst_clock_get_gst_second();
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-08-04 04:00:43 +00:00
|
|
|
[DllImport("gstreamersharpglue-0.10")]
|
2006-06-04 13:11:24 +00:00
|
|
|
private extern static ulong gstsharp_gst_clock_get_gst_usecond();
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-07-12 21:49:32 +00:00
|
|
|
public static readonly ulong USecond = gstsharp_gst_clock_get_gst_second();
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-08-04 04:00:43 +00:00
|
|
|
[DllImport("gstreamersharpglue-0.10")]
|
2006-06-04 13:11:24 +00:00
|
|
|
private extern static ulong gstsharp_gst_clock_get_gst_nsecond();
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2006-07-12 21:49:32 +00:00
|
|
|
public static readonly ulong NSecond = gstsharp_gst_clock_get_gst_second();
|
|
|
|
|
2006-08-04 04:00:43 +00:00
|
|
|
[DllImport("gstreamersharpglue-0.10")]
|
|
|
|
private extern static ulong gstsharp_gst_clock_get_time_none();
|
2006-07-12 21:49:32 +00:00
|
|
|
|
2006-08-04 04:00:43 +00:00
|
|
|
public static readonly ulong TimeNone = gstsharp_gst_clock_get_time_none();
|
2006-07-12 21:49:32 +00:00
|
|
|
|
2006-08-04 04:00:43 +00:00
|
|
|
[DllImport("gstreamersharpglue-0.10")]
|
2006-07-12 21:49:32 +00:00
|
|
|
private extern static bool gstsharp_gst_clock_time_is_valid(ulong time);
|
|
|
|
|
|
|
|
public static bool TimeIsValid(ulong time)
|
|
|
|
{
|
|
|
|
return gstsharp_gst_clock_time_is_valid(time);
|
|
|
|
}
|
|
|
|
|