context: // This file was generated by the Gtk# code generator.
  // Any changes made will be lost if regenerated.
  
  namespace Gst.App {
  
  	using System;
  	using System.Collections;
  	using System.Collections.Generic;
  	using System.Runtime.InteropServices;
  
  #region Autogenerated code
  	public partial class AppSrc : Gst.Base.BaseSrc, Gst.IURIHandler {
  
  		public AppSrc (IntPtr raw) : base(raw) {}
  
  		protected AppSrc() : base(IntPtr.Zero)
  		{
  			CreateNativeObject (new string [0], new GLib.Value [0]);
  		}
  
  		[GLib.Property ("block")]
  		public bool Block {
  			get {
  				GLib.Value val = GetProperty ("block");
  				bool ret = (bool) val;
  				val.Dispose ();
  				return ret;
  			}
  			set {
  				GLib.Value val = new GLib.Value(value);
  				SetProperty("block", val);
  				val.Dispose ();
  			}
  		}
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern IntPtr gst_app_src_get_caps(IntPtr raw);
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern void gst_app_src_set_caps(IntPtr raw, IntPtr caps);
  
  		[GLib.Property ("caps")]
  		public Gst.Caps Caps {
  			get  {
  				IntPtr raw_ret = gst_app_src_get_caps(Handle);
  				Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
  				return ret;
  			}
  			set  {
  				gst_app_src_set_caps(Handle, value == null ? IntPtr.Zero : value.Handle);
  			}
  		}
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern ulong gst_app_src_get_current_level_bytes(IntPtr raw);
  
  		[GLib.Property ("current-level-bytes")]
  		public ulong CurrentLevelBytes {
  			get  {
  				ulong raw_ret = gst_app_src_get_current_level_bytes(Handle);
  				ulong ret = raw_ret;
  				return ret;
  			}
  		}
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern ulong gst_app_src_get_duration(IntPtr raw);
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern void gst_app_src_set_duration(IntPtr raw, ulong duration);
  
  		[GLib.Property ("duration")]
  		public ulong Duration {
  			get  {
  				ulong raw_ret = gst_app_src_get_duration(Handle);
  				ulong ret = raw_ret;
  				return ret;
  			}
  			set  {
  				gst_app_src_set_duration(Handle, value);
  			}
  		}
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern bool gst_app_src_get_emit_signals(IntPtr raw);
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern void gst_app_src_set_emit_signals(IntPtr raw, bool emit);
  
  		[GLib.Property ("emit-signals")]
  		public bool EmitSignals {
  			get  {
  				bool raw_ret = gst_app_src_get_emit_signals(Handle);
  				bool ret = raw_ret;
  				return ret;
  			}
  			set  {
  				gst_app_src_set_emit_signals(Handle, value);
  			}
  		}
  
  		[GLib.Property ("format")]
  		public Gst.Format Format {
  			get {
  				GLib.Value val = GetProperty ("format");
  				Gst.Format ret = (Gst.Format) (Enum) val;
  				val.Dispose ();
  				return ret;
  			}
  			set {
  				GLib.Value val = new GLib.Value((Enum) value);
  				SetProperty("format", val);
  				val.Dispose ();
  			}
  		}
  
  		[GLib.Property ("is-live")]
  		public bool IsLive {
  			get {
  				GLib.Value val = GetProperty ("is-live");
  				bool ret = (bool) val;
  				val.Dispose ();
  				return ret;
  			}
  			set {
  				GLib.Value val = new GLib.Value(value);
  				SetProperty("is-live", val);
  				val.Dispose ();
  			}
  		}
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern ulong gst_app_src_get_max_bytes(IntPtr raw);
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern void gst_app_src_set_max_bytes(IntPtr raw, ulong max);
  
  		[GLib.Property ("max-bytes")]
  		public ulong MaxBytes {
  			get  {
  				ulong raw_ret = gst_app_src_get_max_bytes(Handle);
  				ulong ret = raw_ret;
  				return ret;
  			}
  			set  {
  				gst_app_src_set_max_bytes(Handle, value);
  			}
  		}
  
  		[GLib.Property ("max-latency")]
  		public long MaxLatency {
  			get {
  				GLib.Value val = GetProperty ("max-latency");
  				long ret = (long) val;
  				val.Dispose ();
  				return ret;
  			}
  			set {
  				GLib.Value val = new GLib.Value(value);
  				SetProperty("max-latency", val);
  				val.Dispose ();
  			}
  		}
  
  		[GLib.Property ("min-latency")]
  		public long MinLatency {
  			get {
  				GLib.Value val = GetProperty ("min-latency");
  				long ret = (long) val;
  				val.Dispose ();
  				return ret;
  			}
  			set {
  				GLib.Value val = new GLib.Value(value);
  				SetProperty("min-latency", val);
  				val.Dispose ();
  			}
  		}
  
  		[GLib.Property ("min-percent")]
  		public uint MinPercent {
  			get {
  				GLib.Value val = GetProperty ("min-percent");
  				uint ret = (uint) val;
  				val.Dispose ();
  				return ret;
  			}
  			set {
  				GLib.Value val = new GLib.Value(value);
  				SetProperty("min-percent", val);
  				val.Dispose ();
  			}
  		}
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern long gst_app_src_get_size(IntPtr raw);
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern void gst_app_src_set_size(IntPtr raw, long size);
  
  		[GLib.Property ("size")]
  		public long Size {
  			get  {
  				long raw_ret = gst_app_src_get_size(Handle);
  				long ret = raw_ret;
  				return ret;
  			}
  			set  {
  				gst_app_src_set_size(Handle, value);
  			}
  		}
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern int gst_app_src_get_stream_type(IntPtr raw);
  
  		[DllImport("libgstapp-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
  		static extern void gst_app_src_set_stream_type(IntPtr raw, int type);
  
  		[GLib.Property ("stream-type")]
  		public Gst.App.AppStreamType StreamType {
  			get  {
  				int raw_ret = gst_app_src_get_stream_type(Handle);
  				Gst.App.AppStreamType ret = (Gst.App.AppStreamType) raw_ret;
  				return ret;
  			}
  			set  {
  				gst_app_src_set_stream_type(Handle, (int) value);
  			}
  		}
  
  		[GLib.Signal("seek-data")]
  		public event Gst.App.SeekDataHandler SeekData {
  			add {
  				this.AddSignalHandler ("seek-data", value, typeof (Gst.App.SeekDataArgs));
  			}
  			remove {
  				this.RemoveSignalHandler ("seek-data", value);
  			}
  		}
  
  		[GLib.Signal("push-sample")]
  		public event Gst.App.PushSampleEventHandler PushSampleEvent {
  			add {
  				this.AddSignalHandler ("push-sample", value, typeof (Gst.App.PushSampleEventArgs));
  			}
  			remove {
  				this.RemoveSignalHandler ("push-sample", value);
  			}
  		}
  
  		[GLib.Signal("enough-data")]
  		public event System.EventHandler EnoughData {
  			add {
  				this.AddSignalHandler ("enough-data", value);
  			}
  			remove {
  
gt: 				this.RemoveSignalHandler ("enough-data", value);