static void Reset_cb(IntPtr inst) { try { AudioSrc __obj = GLib.Object.GetObject(inst, false) as AudioSrc; __obj.OnReset(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static bool Open_cb(IntPtr inst) { try { AudioSrc __obj = GLib.Object.GetObject(inst, false) as AudioSrc; bool __result; __result = __obj.OnOpen(); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static uint Read_cb(IntPtr inst, IntPtr data, uint length, ulong timestamp) { try { AudioSrc __obj = GLib.Object.GetObject(inst, false) as AudioSrc; uint __result; __result = __obj.OnRead(data, length, timestamp); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static bool Prepare_cb(IntPtr inst, IntPtr spec) { try { AudioSrc __obj = GLib.Object.GetObject(inst, false) as AudioSrc; bool __result; __result = __obj.OnPrepare(spec == IntPtr.Zero ? null : (Gst.Audio.AudioRingBufferSpec)GLib.Opaque.GetOpaque(spec, typeof(Gst.Audio.AudioRingBufferSpec), false)); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }