NVorbis.OpenTKSupport.OggStream.Pause C# (CSharp) Method

Pause() public method

public Pause ( ) : void
return void
        public void Pause()
        {
            if (AL.GetSourceState(alSourceId) != ALSourceState.Playing)
                return;

            OggStreamer.Instance.RemoveStream(this);
            Logger.Log(LogEvent.Pause, this);
            AL.SourcePause(alSourceId);
            ALHelper.Check();
        }