Hello. I recently got a new PC with an amd64 processor, and now I’m having
problems with lag in SDL_mixer, with a constant sound delay of about a
second
whenever sound plays (using Linux). The sound card is some motherboard-
integrated thing using ALSA’s intel8x0 driver. Other programs using ALSA
for
sound output doesn’t have this delay, so I don’t think it’s a problem with
the
sound card driver. Also, 32-bit SDL programs doesn’t have this problem,
the
lag only shows up in 64-bit SDL programs.
This is all using SDL’s ALSA driver. I tried setting the audio driver to
OSS (using SDL_AUDIODRIVER=oss), but this resulted in no sound at all
(despite
having ALSA’s OSS compatibility enabled in the kernel).
Does anyone have any idea what might be causing this, and if there’s
something
I could do to fix it ? (First thing that springs to mind is that the SDL
audio
code might not be 64-bit clean on x86, but if that was true it seems
strange
that noone would have reported a problem before ? I couldn’t find anything
about it, at least).
Thanks,
- Gerry JJ