GAudio.GATAsyncWavWriter.Dispose C# (CSharp) Method

Dispose() public method

Releases all resource used by the GATAsyncWavWriter object.
Call Dispose when you are finished using the GATAsyncWavWriter. The Dispose method leaves the GATAsyncWavWriter in an unusable state. After calling Dispose, you must release all references to the GATAsyncWavWriter so the garbage collector can reclaim the memory that the GATAsyncWavWriter was occupying.
public Dispose ( ) : void
return void
        public void Dispose()
        {
            Dispose( true );
            GC.SuppressFinalize( this );
        }

Same methods

GATAsyncWavWriter::Dispose ( bool explicitly ) : void

Usage Example

Example #1
0
 void OnDestroy()
 {
     if (_writer != null)
     {
         _writer.Dispose();
     }
 }