Added looping to BackgroundMusic

This commit is contained in:
Stephan Sundermann committed 2012-02-19 18:10:55 +01:00
1 parent 056791ee70
commit d1d792456b
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ namespace Vocaluxe.Base
foreach (int i in _BackgroundMusicStreams)
{
CSound.Fade(i, CConfig.BackgroundMusicVolume, CConfig.FadeTime);
CSound.Play(i);
CSound.Play(i, true);
}
}
}
+1
View File
@@ -146,6 +146,7 @@ namespace Vocaluxe.Lib.Sound
{
if (AlreadyAdded(Stream))
{
_Decoder[GetStreamIndex(Stream)].Loop = Loop;
_Decoder[GetStreamIndex(Stream)].Play();
}
}
+1
View File
@@ -130,6 +130,7 @@ namespace Vocaluxe.Lib.Sound
{
if (AlreadyAdded(Stream))
{
_Decoder[GetStreamIndex(Stream)].Loop = Loop;
_Decoder[GetStreamIndex(Stream)].Play();
}
}