Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound desynchronization during IPS drops #439

Open
Vort opened this issue Dec 31, 2024 · 0 comments
Open

Sound desynchronization during IPS drops #439

Vort opened this issue Dec 31, 2024 · 0 comments

Comments

@Vort
Copy link
Contributor

Vort commented Dec 31, 2024

While playing games, IPS may drop sometimes.
Each time it happens, sound in game becomes more and more lagged.

For testing purposes, IPS drop can be simulated by opening and closing Bochs config window.
In this video, sound is synchronized when character collects coins at 0:28.
At 0:34, I open config menu, then wait till 0:47 for IPS stabilization.
When next coins are collected at 0:49, corresponding sound appears only at 0:52.

bochs_sound_desync.mp4

I think this problem can be solved by introducing new sound configuration option, maxlag for example.
Which will specify maximum time in milliseconds, allowed for sound packet to wait in queue.
Packets, which are delayed for more, should be discarded.

In my opinion, this is the last annoyance, which prevents gaming with Bochs.

Test files: superfrog.zip.
Version: 911e17f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant