diff --git a/Output/x86/PortAudio.dll b/Output/x86/PortAudio.dll index 4588ded3..a91a1516 100644 Binary files a/Output/x86/PortAudio.dll and b/Output/x86/PortAudio.dll differ diff --git a/Vocaluxe/Lib/Sound/CPortAudioPlay.cs b/Vocaluxe/Lib/Sound/CPortAudioPlay.cs index dc23bc91..c473e748 100644 --- a/Vocaluxe/Lib/Sound/CPortAudioPlay.cs +++ b/Vocaluxe/Lib/Sound/CPortAudioPlay.cs @@ -489,7 +489,7 @@ namespace Vocaluxe.Lib.Sound if (Finished) _SyncTimer.Pause(); - return _SyncTimer.Time; + return _CurrentTime; // _SyncTimer.Time; } } } diff --git a/Vocaluxe/Lib/Video/CVideoDecoderFFmpeg.cs b/Vocaluxe/Lib/Video/CVideoDecoderFFmpeg.cs index b8c38f49..767a9fb9 100644 --- a/Vocaluxe/Lib/Video/CVideoDecoderFFmpeg.cs +++ b/Vocaluxe/Lib/Video/CVideoDecoderFFmpeg.cs @@ -666,7 +666,6 @@ namespace Vocaluxe.Lib.Video if (num == -1) { _BufferFull = true; - EventDecode.Reset(); } else { @@ -743,7 +742,7 @@ namespace Vocaluxe.Lib.Video { float td = _SetTime + _VideoSkipTime - _FrameBuffer[i].time; - if (td > _VideoTimeBase * 2 || td < -1f * _VideoTimeBase * (_FrameBuffer.Length + 1)) + if (td > _VideoTimeBase * 2) { _FrameBuffer[i].displayed = true; } diff --git a/Vocaluxe/Program.cs b/Vocaluxe/Program.cs index 940951f5..b5f3228e 100644 --- a/Vocaluxe/Program.cs +++ b/Vocaluxe/Program.cs @@ -141,7 +141,7 @@ namespace Vocaluxe CLog.StopBenchmark(0, "Init Game"); Application.DoEvents(); - System.Threading.Thread.Sleep(10000); + // Start Main Loop _SplashScreen.Close(); CDraw.MainLoop();