public bool SetMaster(Gst.Clock master) { bool raw_ret = gst_clock_set_master(Handle, master == null ? IntPtr.Zero : master.Handle); bool ret = raw_ret; return(ret); }
public static Gst.Clock Obtain() { IntPtr raw_ret = gst_system_clock_obtain(); Gst.Clock ret = GLib.Object.GetObject(raw_ret, true) as Gst.Clock; return(ret); }
public static bool IdUsesClock(IntPtr id, Gst.Clock clock) { bool raw_ret = gst_clock_id_uses_clock(id, clock == null ? IntPtr.Zero : clock.Handle); bool ret = raw_ret; return(ret); }
public static Gst.Clock IdGetClock(IntPtr id) { IntPtr raw_ret = gst_clock_id_get_clock(id); Gst.Clock ret = GLib.Object.GetObject(raw_ret, true) as Gst.Clock; return(ret); }
public NetTimeProvider(Gst.Clock clock, string address, int port) : base(IntPtr.Zero) { if (GetType() != typeof(NetTimeProvider)) { var vals = new List <GLib.Value> (); var names = new List <string> (); if (clock != null) { names.Add("clock"); vals.Add(new GLib.Value(clock)); } names.Add("address"); vals.Add(new GLib.Value(address)); names.Add("port"); vals.Add(new GLib.Value(port)); CreateNativeObject(names.ToArray(), vals.ToArray()); return; } IntPtr native_address = GLib.Marshaller.StringToPtrGStrdup(address); Raw = gst_net_time_provider_new(clock == null ? IntPtr.Zero : clock.Handle, native_address, port); GLib.Marshaller.Free(native_address); }
public void UseClock(Gst.Clock clock) { gst_pipeline_use_clock(Handle, clock == null ? IntPtr.Zero : clock.Handle); }
bool InvokeNative(Gst.Clock clock, ulong time, IntPtr id) { bool __result = native_cb(clock == null ? IntPtr.Zero : clock.Handle, time, id, __data); return(__result); }
ulong InvokeNative(Gst.Clock clock) { ulong __result = native_cb(clock == null ? IntPtr.Zero : clock.Handle, __data); return(__result); }