static void ProbeProperty_cb(IntPtr inst, uint prop_id, IntPtr pspec) { try { PropertyProbeImplementor __obj = GLib.Object.GetObject(inst, false) as PropertyProbeImplementor; Gst.PropertyInfo pi = new Gst.PropertyInfo(pspec); __obj.ProbeProperty(pi.Name); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static bool NeedsProbe_cb (IntPtr inst, uint prop_id, IntPtr pspec) { try { PropertyProbeImplementor __obj = Gst.GLib.Object.GetObject (inst, false) as PropertyProbeImplementor; Gst.PropertyInfo pi = new Gst.PropertyInfo (pspec); bool __result = __obj.NeedsProbe (pi.Name); return __result; } catch (Exception e) { Gst.GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } }
static bool NeedsProbe_cb(IntPtr inst, uint prop_id, IntPtr pspec) { try { PropertyProbeImplementor __obj = GLib.Object.GetObject(inst, false) as PropertyProbeImplementor; Gst.PropertyInfo pi = new Gst.PropertyInfo(pspec); bool __result = __obj.NeedsProbe(pi.Name); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static IntPtr GetValues_cb(IntPtr inst, uint prop_id, IntPtr pspec) { try { PropertyProbeImplementor __obj = GLib.Object.GetObject(inst, false) as PropertyProbeImplementor; Gst.PropertyInfo pi = new Gst.PropertyInfo(pspec); object[] values = __obj.GetValues(pi.Name); GLib.ValueArray va = new GLib.ValueArray((uint)values.Length); foreach (object v in values) { va.Append(new GLib.Value(v)); } return(va.Handle); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); // NOTREACHED: above call does not return. throw e; } }
static IntPtr GetValues_cb (IntPtr inst, uint prop_id, IntPtr pspec) { try { PropertyProbeImplementor __obj = Gst.GLib.Object.GetObject (inst, false) as PropertyProbeImplementor; Gst.PropertyInfo pi = new Gst.PropertyInfo (pspec); object[] values = __obj.GetValues (pi.Name); Gst.GLib.ValueArray va = new Gst.GLib.ValueArray ((uint) values.Length); foreach (object v in values) va.Append (new Gst.GLib.Value (v)); return va.Handle; } catch (Exception e) { Gst.GLib.ExceptionManager.RaiseUnhandledException (e, false); // NOTREACHED: above call does not return. throw e; } }
static void ProbeProperty_cb (IntPtr inst, uint prop_id, IntPtr pspec) { try { PropertyProbeImplementor __obj = Gst.GLib.Object.GetObject (inst, false) as PropertyProbeImplementor; Gst.PropertyInfo pi = new Gst.PropertyInfo (pspec); __obj.ProbeProperty (pi.Name); } catch (Exception e) { Gst.GLib.ExceptionManager.RaiseUnhandledException (e, false); } }
static bool Bind_cb (IntPtr inst, IntPtr pspec) { try { ControlSource __obj = Gst.GLib.Object.GetObject (inst, false) as ControlSource; Gst.PropertyInfo pinfo = new Gst.PropertyInfo (pspec); return __obj.OnBind (pinfo); } catch (Exception e) { Gst.GLib.ExceptionManager.RaiseUnhandledException (e, false); return false; } }