by sergeirocks100 » Sun Sep 25, 2022 6:38 am
			
			
			Hello.
This issue came up in 
viewtopic.php?t=76430, but i wanted to make a separate issue for that, so here it is.
There seems to be audio delay in cutscenes, which Graf said was because of inherent latency with OpenAL.
The delay, from what i measured, seems to be about 0.4 seconds, or at least that's how much i had to cut off of the beginning of the sound file to get it to sync.
I have zero clue if this delay is consistent across machines or operating systems, but if it is, it could probably be compensated for by delaying the playback of the video by however long the delay is.
In the linked PK3, there are two different .ogg files for the video. One is unaltered, and the other has 0.4 seconds cut off from the beginning (and it's also what the cutscene is set to use).
If you want to compare the two, you're going to have to open the .pk3 and change out the cutscene audio manually in the MAPINFO, because i don't think there's a better way to do it:
https://amel.pw/trevie/bugreport2.pk3
The audio is pretty much perfectly in sync for me, but again, i have no clue if it is for anyone else, so if it isn't in sync for you, let me know.
Hello.
This issue came up in https://forum.zdoom.org/viewtopic.php?t=76430, but i wanted to make a separate issue for that, so here it is.
There seems to be audio delay in cutscenes, which Graf said was because of inherent latency with OpenAL.
The delay, from what i measured, seems to be about 0.4 seconds, or at least that's how much i had to cut off of the beginning of the sound file to get it to sync.
I have zero clue if this delay is consistent across machines or operating systems, but if it is, it could probably be compensated for by delaying the playback of the video by however long the delay is.
In the linked PK3, there are two different .ogg files for the video. One is unaltered, and the other has 0.4 seconds cut off from the beginning (and it's also what the cutscene is set to use).
If you want to compare the two, you're going to have to open the .pk3 and change out the cutscene audio manually in the MAPINFO, because i don't think there's a better way to do it:
https://amel.pw/trevie/bugreport2.pk3
The audio is pretty much perfectly in sync for me, but again, i have no clue if it is for anyone else, so if it isn't in sync for you, let me know.