24 Feb
2026
24 Feb
'26
1:23 a.m.
why would seeking state depend on asking for time with GetCorrelatedTime()
I did debate if that was the best place for it. It was the only place where the current playback position was being calculated. But I've moved that logic to a helper function and I now call it from `audio_renderer_render` (which is called on a timer).
why would you check for before seeking position only
This seems to be what Windows does. It would always return the seek time, but if I provided a sample with a PTS greater than that, then it would return that PTS. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10126#note_130312