fade to 0 on stop of background music

This commit is contained in:
Alexander Eckart committed 2012-02-21 21:32:33 +01:00
1 parent 5cfb22f096
commit 68e4a0e4cb
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ namespace Vocaluxe.Base
public static void Stop()
{
if (_AllFileNames.Count > 0)
CSound.FadeAndStop(_CurrentMusicStream, CConfig.BackgroundMusicVolume, CSettings.BackgroundMusicFadeTime);
CSound.FadeAndStop(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime);
_CurrentMusicFilePath = String.Empty;
}