Пример #1
0
 public ulong AddProbe(PadProbeType mask, PadProbeCallback cb, IntPtr user_data, OldGLib.DestroyNotify destroy_data)
 {
     Hyena.Log.Debug ("[Streamrecorder.Gst.Pad]<PadAddProbe> START");
     PadProbeCallbackWrapper cb_wrapper = new PadProbeCallbackWrapper (cb);
     ulong ret = gst_pad_add_probe (raw, mask, cb_wrapper.NativeDelegate, user_data, destroy_data);
     Hyena.Log.Debug ("[Streamrecorder.Gst.Pad]<PadAddProbe> END (" + ret + ")");
     return ret;
 }
        public ulong AddProbe(PadProbeType mask, PadProbeCallback cb, IntPtr user_data, OldGLib.DestroyNotify destroy_data)
        {
            Hyena.Log.Debug("[Streamrecorder.Gst.Pad]<PadAddProbe> START");
            PadProbeCallbackWrapper cb_wrapper = new PadProbeCallbackWrapper(cb);
            ulong ret = gst_pad_add_probe(raw, mask, cb_wrapper.NativeDelegate, user_data, destroy_data);

            Hyena.Log.Debug("[Streamrecorder.Gst.Pad]<PadAddProbe> END (" + ret + ")");
            return(ret);
        }
Пример #3
0
 static extern ulong gst_pad_add_probe(IntPtr pad, PadProbeType mask, PadProbeCallbackNative cb, IntPtr user_data, OldGLib.DestroyNotify destroy_data);
 static extern ulong gst_pad_add_probe(IntPtr pad, PadProbeType mask, PadProbeCallbackNative cb, IntPtr user_data, OldGLib.DestroyNotify destroy_data);