2009-04-27 09:32:58 +00:00
|
|
|
#include <gst/gst.h>
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2009-05-22 10:32:01 +00:00
|
|
|
guint
|
2009-09-20 08:19:49 +00:00
|
|
|
gstsharp_gst_clock_get_entries_changed_offset (void)
|
|
|
|
{
|
2009-05-22 10:32:01 +00:00
|
|
|
return (guint) G_STRUCT_OFFSET (GstClock, entries_changed);
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2009-05-22 10:32:01 +00:00
|
|
|
guint
|
2009-09-20 08:19:49 +00:00
|
|
|
gstsharp_gst_clock_get_slave_lock_offset (void)
|
|
|
|
{
|
2009-05-22 10:32:01 +00:00
|
|
|
return (guint) G_STRUCT_OFFSET (GstClock, slave_lock);
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2009-05-22 10:32:01 +00:00
|
|
|
guint
|
2009-09-20 08:19:49 +00:00
|
|
|
gstsharp_gst_clock_get_entries_offset (void)
|
|
|
|
{
|
2009-05-22 10:32:01 +00:00
|
|
|
return (guint) G_STRUCT_OFFSET (GstClock, entries);
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
|
|
|
|
2009-05-22 10:32:01 +00:00
|
|
|
guint
|
2009-09-20 08:19:49 +00:00
|
|
|
gstsharp_gst_clock_get_times_offset (void)
|
|
|
|
{
|
2009-05-22 10:32:01 +00:00
|
|
|
return (guint) G_STRUCT_OFFSET (GstClock, times);
|
2006-05-19 19:24:35 +00:00
|
|
|
}
|
2011-04-13 15:33:05 +00:00
|
|
|
|
|
|
|
void
|
|
|
|
gstsharp_g_cond_wait (GCond * cond, GMutex * mutex)
|
|
|
|
{
|
|
|
|
g_cond_wait (cond, mutex);
|
|
|
|
}
|
|
|
|
|
|
|
|
gboolean
|
|
|
|
gstsharp_g_cond_timed_wait (GCond *cond, GMutex *mutex, GTimeVal *abs_time)
|
|
|
|
{
|
|
|
|
return g_cond_timed_wait (cond, mutex, abs_time);
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
gstsharp_g_cond_broadcast (GCond *cond)
|
|
|
|
{
|
|
|
|
g_cond_broadcast (cond);
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
gstsharp_g_mutex_lock (GMutex *mutex)
|
|
|
|
{
|
|
|
|
g_mutex_lock (mutex);
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
gstsharp_g_mutex_unlock (GMutex *mutex)
|
|
|
|
{
|
|
|
|
g_mutex_unlock (mutex);
|
|
|
|
}
|
|
|
|
|
|
|
|
gboolean
|
|
|
|
gstsharp_g_mutex_trylock (GMutex *mutex)
|
|
|
|
{
|
|
|
|
return g_mutex_trylock (mutex);
|
|
|
|
}
|
|
|
|
|