Accord.Audio.AudioSourceMixer.Dispose C# (CSharp) Method

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; /// false to release only unmanaged resources.
return void
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                // free managed resources
                if (stopEvents != null)
                {
                    for (int i = 0; i < stopEvents.Length; i++)
                    {
                        if (stopEvents[i] != null)
                        {
                            stopEvents[i].Close();
                            stopEvents[i] = null;
                        }
                    }
                }
            }
        }
        #endregion

Same methods

AudioSourceMixer::Dispose ( ) : void