protected virtual void Dispose(bool isDisposing)
 {
     if (!alreadyDisposed)
     {
         if (bassService != null)
         {
             //bassService.Dispose();
             bassService = null;
         }
         if (fftService != null)
         {
             fftService.Dispose();
             fftService = null;
         }
     }
 }
 public AudioEngine()
 {
     alreadyDisposed  = false;
     this.bassService = new BassService();
     if (IntPtr.Size == 4)
     {
         // 32 bits
         //fftService = new CachedFFTWService(new FFTWService86());
         fftService = new FFTWService86();
     }
     else
     {
         // 64bits
         //fftService = new CachedFFTWService(new FFTWService64());
         fftService = new FFTWService64();
     }
     this.audioNormalizer = new AudioNormalizer();
 }