private void FadeThread() { float volumne; _singleSourceVoice.GetVolume(out volumne); while (_isFading && volumne > 0) { volumne -= 0.25f; volumne = volumne < 0 ? 0 : volumne; _singleSourceVoice.SetVolume(volumne); Thread.Sleep(100); } Stop(); }