Audio latency

Im mixing 4 wav files and playing them every 300ms using SDL_AddTimer. I’m
using a buffer size of 1024 and a sample rate of 44100. Im experiencing some
latency especially when other system events take place eg moving windows
around the desktop. Is this latency caused by the timer thread??? How can
i overcome this problem???

Tired of spam? Get advanced junk mail protection with MSN 8.