SDL: Audio delay in daily builds
|Reported by:||misterhands||Owned by:||digitall|
Win 32/64 daily builds All games
There is an important audio delay (the sound is about 500ms late) on my systems (desktop and my laptop too) in the Win 64/32 daily builds. This can be noticed in various games and engines. For example, the footstep sounds are lagging in FT, Bargon Attack, and WME games like Chivalry or Dirty Split.
I'm getting a related warning: WARNING: SDL mixer output buffer size: 11028 differs from desired: 4096! That's with the sample rate set to 44100 Hz.
With 22050 Hz, I get: WARNING: SDL mixer output buffer size: 5512 differs from desired: 2048!
The sample rate value and resulting buffer size does not alter the lag, from what I can tell.
For reference, there is an old bug about this issue: https://sourceforge.net/p/scummvm/bugs/5837/ and my original WME bug report: https://sourceforge.net/p/scummvm/bugs/6198/?page=0
The original interpreters do not have this delay problem, and ScummVM 1.6 works fine (no warning, no audio lag). So it looks like a bug in the daily builds, at least the Win 32/64 ones.
Ticket imported from: bugs/6510.