2009-05-25 10:12:35 +00:00
|
|
|
[DllImport ("gstreamersharpglue-0.10.dll") ]
|
2009-04-27 09:32:58 +00:00
|
|
|
static extern GstSharp.ClockCallbackNative gstsharp_gst_clock_entry_get_func (IntPtr raw);
|
2009-05-25 10:12:35 +00:00
|
|
|
[DllImport ("gstreamersharpglue-0.10.dll") ]
|
2009-04-27 09:32:58 +00:00
|
|
|
static extern void gstsharp_gst_clock_entry_set_func (IntPtr raw, GstSharp.ClockCallbackNative func);
|
|
|
|
|
|
|
|
private GstSharp.ClockCallbackWrapper wrapper;
|
|
|
|
|
|
|
|
public Gst.ClockCallback Func {
|
|
|
|
set {
|
|
|
|
wrapper = new GstSharp.ClockCallbackWrapper (value);
|
|
|
|
gstsharp_gst_clock_entry_set_func (Handle, wrapper.NativeDelegate);
|
|
|
|
}
|
|
|
|
|
|
|
|
get {
|
|
|
|
return GstSharp.ClockCallbackWrapper.GetManagedDelegate (gstsharp_gst_clock_entry_get_func (Handle));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|