From a2f626fbca5696a8652c9196c22c40f3f46dab55 Mon Sep 17 00:00:00 2001 From: Stephan Sundermann Date: Sun, 22 Dec 2013 16:19:42 +0100 Subject: [PATCH] gstreamer-sharp: Fixed fading --- Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs b/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs index 3be86bb9..49e3a6ef 100644 --- a/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs +++ b/Vocaluxe/Lib/Sound/CGstreamerSharpAudio.cs @@ -404,7 +404,7 @@ namespace Vocaluxe.Lib.Sound if (_Fading) { if (_FadeTimer.ElapsedMilliseconds < (_FadeTime * 1000f)) - Volume = ((_FadeTimer.ElapsedMilliseconds) / (_FadeTime * 1000f)) * 100f; + Volume = ((_FadeTimer.ElapsedMilliseconds) / (_FadeTime * 1000f)) * _FadeVolume; else { Volume = _FadeVolume;