Exemple #1
0
 static bool SyncValues_cb(IntPtr inst, IntPtr _object, ulong timestamp, ulong last_sync)
 {
     try {
         ControlBinding __obj = GLib.Object.GetObject(inst, false) as ControlBinding;
         bool           __result;
         __result = __obj.OnSyncValues(GLib.Object.GetObject(_object) as Gst.Object, timestamp, last_sync);
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Exemple #2
0
 static IntPtr GetValue_cb(IntPtr inst, ulong timestamp)
 {
     try {
         ControlBinding __obj = GLib.Object.GetObject(inst, false) as ControlBinding;
         GLib.Value     __result;
         __result = __obj.OnGetValue(timestamp);
         return(GLib.Marshaller.StructureToPtrAlloc(__result));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }