mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
18 lines
619 B
Text
18 lines
619 B
Text
[DllImport ("gstreamersharpglue-0.10") ]
|
|
static extern GstSharp.ClockCallbackNative gstsharp_gst_clock_entry_get_func (IntPtr raw);
|
|
[DllImport ("gstreamersharpglue-0.10") ]
|
|
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));
|
|
}
|
|
}
|
|
|