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

WaitForStop() public method

Wait for audio source has stopped.
Waits for source stopping after it was signaled to stop using SignalToStop method.
public WaitForStop ( ) : void
return void
        public void WaitForStop()
        {
            if (thread != null)
            {
                // wait for thread stop
                thread.Join();
                thread = null;
            }
        }