Ejemplo n.º 1
0
 public override void Pause()
 {
     if (this.IsPaused)
     {
         return;
     }
     Logger.Write(this, LogLevel.Debug, "Pausing ASIO.");
     try
     {
         BassAsioUtils.OK(BassAsio.ChannelPause(false, BassAsioDevice.PRIMARY_CHANNEL));
     }
     catch (Exception e)
     {
         this.OnError(e);
         throw;
     }
 }