Ejemplo n.º 1
0
 public PadBlockCallbackWrapper(PadBlockCallback managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new PadBlockCallbackNative(NativeCallback);
     }
 }
		public static Gst.PadBlockCallback GetManagedDelegate (PadBlockCallbackNative native)
		{
			if (native == null)
				return null;
			PadBlockCallbackWrapper wrapper = (PadBlockCallbackWrapper) native.Target;
			if (wrapper == null)
				return null;
			return wrapper.managed;
		}
Ejemplo n.º 3
0
        public static PadBlockCallback GetManagedDelegate(PadBlockCallbackNative native)
        {
            if (native == null)
            {
                return(null);
            }
            PadBlockCallbackWrapper wrapper = (PadBlockCallbackWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
		public PadBlockCallbackWrapper (Gst.PadBlockCallback managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new PadBlockCallbackNative (NativeCallback);
		}
		internal PadBlockCallbackInvoker (PadBlockCallbackNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify)
		{
			this.native_cb = native_cb;
			__data = data;
			__notify = notify;
		}
		internal PadBlockCallbackInvoker (PadBlockCallbackNative native_cb, IntPtr data) : this (native_cb, data, null) {}
		internal PadBlockCallbackInvoker (PadBlockCallbackNative native_cb) : this (native_cb, IntPtr.Zero, null) {}
Ejemplo n.º 8
0
Archivo: Pad.cs Proyecto: h0rm/No.Noise
 static extern bool gst_pad_set_blocked_async (IntPtr pad, bool blocked, PadBlockCallbackNative cb, IntPtr user_data);
Ejemplo n.º 9
0
 internal PadBlockCallbackInvoker(PadBlockCallbackNative native_cb)
 {
     this.native_cb = native_cb;
 }
 internal PadBlockCallbackInvoker(PadBlockCallbackNative native_cb)
 {
     this.native_cb = native_cb;
 }