public void FbSetType(Gst.Rtp.RTCPFBType type) { IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal(System.Runtime.InteropServices.Marshal.SizeOf(this)); System.Runtime.InteropServices.Marshal.StructureToPtr(this, this_as_native, false); gst_rtcp_packet_fb_set_type(this_as_native, (int)type); ReadNative(this_as_native, ref this); System.Runtime.InteropServices.Marshal.FreeHGlobal(this_as_native); }
public Gst.Rtp.RTCPFBType FbGetType() { IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal(System.Runtime.InteropServices.Marshal.SizeOf(this)); System.Runtime.InteropServices.Marshal.StructureToPtr(this, this_as_native, false); int raw_ret = gst_rtcp_packet_fb_get_type(this_as_native); Gst.Rtp.RTCPFBType ret = (Gst.Rtp.RTCPFBType)raw_ret; ReadNative(this_as_native, ref this); System.Runtime.InteropServices.Marshal.FreeHGlobal(this_as_native); return(ret); }