fade to 0 on stop of background music
This commit is contained in:
1 parent
5cfb22f096
commit
68e4a0e4cb
1 file changed
+1
-1
@@ -52,7 +52,7 @@ namespace Vocaluxe.Base
|
|||||||
public static void Stop()
|
public static void Stop()
|
||||||
{
|
{
|
||||||
if (_AllFileNames.Count > 0)
|
if (_AllFileNames.Count > 0)
|
||||||
CSound.FadeAndStop(_CurrentMusicStream, CConfig.BackgroundMusicVolume, CSettings.BackgroundMusicFadeTime);
|
CSound.FadeAndStop(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime);
|
||||||
|
|
||||||
_CurrentMusicFilePath = String.Empty;
|
_CurrentMusicFilePath = String.Empty;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user