NVorbis.StreamReadBuffer.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            if (--_wrapper.RefCount == 0)
            {
                _lockObjects.Remove(_wrapper.Source);
            }
        }

Usage Example

Beispiel #1
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing)
     {
         if (_buffer != null)
         {
             _buffer.Dispose();
             _buffer = null;
         }
         if (!_leaveOpen)
         {
             _baseStream.Dispose();
         }
     }
 }
All Usage Examples Of NVorbis.StreamReadBuffer::Dispose