2006-05-19 19:24:35 +00:00
|
|
|
#include <glib.h>
|
|
|
|
#include <gst/gstclock.h>
|
|
|
|
|
2006-06-04 13:11:24 +00:00
|
|
|
guint64 gstsharp_gst_clock_get_gst_second()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2006-05-20 22:35:40 +00:00
|
|
|
return GST_SECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2006-06-04 13:11:24 +00:00
|
|
|
guint64 gstsharp_gst_clock_get_gst_msecond()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2006-05-20 22:35:40 +00:00
|
|
|
return GST_MSECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2006-06-04 13:11:24 +00:00
|
|
|
guint64 gstsharp_gst_clock_get_gst_usecond()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2006-05-20 22:35:40 +00:00
|
|
|
return GST_USECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2006-06-04 13:11:24 +00:00
|
|
|
guint64 gstsharp_gst_clock_get_gst_nsecond()
|
2006-05-19 19:24:35 +00:00
|
|
|
{
|
2006-05-20 22:35:40 +00:00
|
|
|
return GST_NSECOND;
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
2006-07-12 21:49:32 +00:00
|
|
|
|
|
|
|
guint64 gstsharp_gst_clock_get_time_none()
|
|
|
|
{
|
|
|
|
return GST_CLOCK_TIME_NONE;
|
|
|
|
}
|
|
|
|
|
|
|
|
gboolean gstsharp_gst_clock_time_is_valid(GstClockTime time)
|
|
|
|
{
|
|
|
|
return GST_CLOCK_TIME_IS_VALID(time);
|
|
|
|
}
|
|
|
|
|