May 11, 2026
10:26 p.m.
The averaging of stream delays doesn't work very well, there is an offset if streams are stopped and started at arbitrary time and the adjustment doesn't converge. So instead I've implemented adjustment based on one of the streams which are currently running which is supposed to account for regular device time drift. I tested that with an ad-hoc test adding and removing the stream (forcing the switch of the timer stream), simulating underrun of those and the thing recovers from those. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8628#note_139500