static uint Delay_cb(IntPtr inst)
 {
     try {
         AudioSink __obj = GLib.Object.GetObject(inst, false) as AudioSink;
         uint      __result;
         __result = __obj.OnDelay();
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }