Lag (delay) in playing using sdl_mixer
(using Linux ubuntu) I've noticed a delay in playing mix chunks, a considerable delay (0.3 seconds). I've browsed Google and found some similar problems, but a good answer I couldn't find. Has anyone using the mixer had these problems? Is this a driver problem or a sdl mixer problem? Can't seem to find this delay in other applications.
What is the size of the mix buffer? Try setting it to something fairly low for low latancy. 4096 samples is usually just about right. Anything less gets choppy anything more and the lag increases.
Me too, on both linux and windows. It's very annoying and I'd love to know what is causing it...
Quote:Original post by Marmin
(using Linux ubuntu) I've noticed a delay in playing mix chunks, a considerable delay (0.3 seconds). I've browsed Google and found some similar problems, but a good answer I couldn't find. Has anyone using the mixer had these problems? Is this a driver problem or a sdl mixer problem? Can't seem to find this delay in other applications.
I was getting delays of almost a second under windows using SDL to play sound effects and I couldn't fix the problem :(
So I migrated to OpenAL and had no more issues :)
cheers,
Paul.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement