GAudio.GATAudioThreadStreamToCache.Stop C# (CSharp) Method

Stop() public method

Stop caching immediately.
public Stop ( ) : void
return void
        public void Stop()
        {
            if( _vDoCache == false )
                return;

            _vDoCache = false;
            _stream.RemoveAudioThreadStreamClient( this );
        }

Usage Example

Example #1
0
        /// <summary>
        /// Immediately stops caching the stream.
        /// </summary>
        public void StopCaching()
        {
            if (_streamToCache == null)
            {
                return;
            }

            _streamToCache.Stop();
        }