示例#1
0
 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);
     }
 }
示例#2
0
 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;
     }
 }
示例#3
0
 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;
     }
 }
示例#4
0
 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;
     }
 }