Ejemplo n.º 1
0
 public BassService(bool initializeRecordDevice = false)
 {
     alreadyDisposed = false;
     lock (lockObject)
     {
         lifetimeManager = new BassLifetimeManager(initializeRecordDevice);
     }
 }
Ejemplo n.º 2
0
 protected virtual void Dispose(bool isDisposing)
 {
     if (!alreadyDisposed && lifetimeManager != null)
     {
         lifetimeManager.Dispose();
         lifetimeManager = null;
     }
 }