On Wed May 6 17:15:00 2026 +0000, Paul Gofman wrote:
That's quite possible, https://gitlab.winehq.org/wine/wine/-/merge_requests/8628 use pulse global time and not stream / device time. While that MR may improve shorter term timer accuracy it could introduce such a small drift. See the last paragraph in the description. Using just a separate timer per stream defeats the purpose there, the main motivation of that MR was to remove incompatibility coming from not synced streams updates breaking game(s). But perhaps per-device timers (adjusted based on a stream time) should work, while also I think resetting pa_held bytes if we run out of buffer is also a valid fallback. I might look at that further at some moment. I assume skipping audio would be somewhat similar to skipping a beat in a song - it somehow sounds unsettling. Especially if the user sets their latency higher to avoid underflows - I am quite certain at 45ms (which does not actually contradict 10ms mmdev timer, you can crank latency way up with quant 480 in pw-pulse and PULSE_LATENCY_MSEC and keep 10ms mmdev) it would be very noticeable, so hopefully there is another way to solve this.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10792#note_139005