Your suggestions for a good cross platform sound API for games

Started by
0 comments, last by howie_007 8 years, 7 months ago

I'm currently using SDL2 for my OpenGL engine along with it's sound mixer. It works and is easy to use but I notice a very slight delay when audio is played. I don't notice this same delay in Linux. This annoys me just enough to start looking at other audio API packages.

Any suggestions?

Advertisement

ummm, never mind. Even though I've searched this topic many times, I finially found the reason foir the delay. When initializing the mixer, be sure to use a higher frequency like 44100 and a smaller chunk size like 2048. I was using a chunk size of 4096. Higher chunk sizes and lower frequencies increase latency. Had no idea.

This topic is closed to new replies.

Advertisement