- tweaks to synchronize video and audio with MVE.

This commit is contained in:
Christoph Oelckers 2020-07-24 00:01:50 +02:00
parent 200db367ec
commit 940413524b

View file

@ -121,6 +121,7 @@ InterplayDecoder::InterplayDecoder()
memset(palette, 0, sizeof(palette)); memset(palette, 0, sizeof(palette));
memset(&audio, 0, sizeof(audio)); memset(&audio, 0, sizeof(audio));
audio.nRead = 18000; // skip the initial silence. This is needed to sync audio and video because OpenAL's lag is a bit on the high side.
nFps = 0.0; nFps = 0.0;