From ba7627513eeb5631626266ea572ed72728d85df2 Mon Sep 17 00:00:00 2001 From: Flamefire Date: Fri, 1 Aug 2014 16:01:27 +0200 Subject: [PATCH] Fix wrong argument order for Song loading (fixes wrong song start time in preview) --- VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs b/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs index 7d1f0be2..8677cc92 100644 --- a/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs +++ b/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs @@ -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);