Accord.DirectSound.AudioOutputDevice.Stop C# (CSharp) Method

Stop() public method

Stops playing the current buffer.
public Stop ( ) : void
return void
        public void Stop()
        {
            if (this.IsRunning)
            {
                if (thread != null)
                    thread.Abort();
                WaitForStop();
            }
        }