gstreamer-sharp: Fixed fading
This commit is contained in:
1 parent
4e30a43cea
commit
56036b6f1d
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user