Fix wrong argument order for Song loading (fixes wrong song start time in preview)

This commit is contained in:
Flamefire committed 2014-08-01 16:01:27 +02:00
1 parent 5d8628d8a0
commit ba7627513e
1 file changed
+1 -1
@@ -524,7 +524,7 @@ namespace VocaluxeLib.Menu.SongMenu
return;
//TODO: Using prescan here causes Vocaluxe to hang a bit on loading the song but we need the length below
int stream = CBase.Sound.Load(Path.Combine(song.Folder, song.MP3FileName), true);
int stream = CBase.Sound.Load(Path.Combine(song.Folder, song.MP3FileName), false, true);
float startposition = song.Preview.StartTime;
float length = CBase.Sound.GetLength(stream);