protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         delay?.Dispose();
         newInFrame?.Dispose();
         delay      = null;
         newInFrame = null;
     }
 }
Beispiel #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         resampler?.Dispose();
         resampler = null;
         tempFrame?.Dispose();
         tempFrame = null;
     }
     base.Dispose(disposing);
 }
Beispiel #3
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         resampler?.Dispose();
         tempInput.Dispose();
         if (convs != null)
         {
             Array.ForEach(convs, conv => conv.Dispose());
         }
         resampler = null;
         tempInput = null;
         convs     = null;
     }
 }