public AudioBaseSinkCustomSlavingCallbackWrapper(Gst.Audio.AudioBaseSinkCustomSlavingCallback managed) { this.managed = managed; if (managed != null) { NativeDelegate = new AudioBaseSinkCustomSlavingCallbackNative(NativeCallback); } }
public static Gst.Audio.AudioBaseSinkCustomSlavingCallback GetManagedDelegate(AudioBaseSinkCustomSlavingCallbackNative native) { if (native == null) { return(null); } AudioBaseSinkCustomSlavingCallbackWrapper wrapper = (AudioBaseSinkCustomSlavingCallbackWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal AudioBaseSinkCustomSlavingCallbackInvoker(AudioBaseSinkCustomSlavingCallbackNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal AudioBaseSinkCustomSlavingCallbackInvoker(AudioBaseSinkCustomSlavingCallbackNative native_cb, IntPtr data) : this(native_cb, data, null) { }