GameCodingNinja
2016-10-29 17:16:42 UTC
Are you calling Mix_OpenAudio "after" you've called SDL_Init? Does your SDL_Init include SDL_INIT_AUDIO | SDL_INIT_EVENTS? What are you passing to the SDL_Init?
Are you compiling the SDL Mixer or are you using the DLL's?
I have not encountered any problem using the mixer and I compiling for Windows, Linux and Android. For Windows I use all the provided SDL DLL's. Life is simpler that way.
The sound settings I use are...
frequency="44100" sound_channels="2" mix_channels="8" chunksize="1024"
Just an FYI. A lower chunk size and a higher frequency provides lower sound latency. I've noticed this mostly in Windows.
Do you really need "16" mix channels? I'd try 8 to see if that is related to your problem.
Are you compiling the SDL Mixer or are you using the DLL's?
I have not encountered any problem using the mixer and I compiling for Windows, Linux and Android. For Windows I use all the provided SDL DLL's. Life is simpler that way.
The sound settings I use are...
frequency="44100" sound_channels="2" mix_channels="8" chunksize="1024"
Just an FYI. A lower chunk size and a higher frequency provides lower sound latency. I've noticed this mostly in Windows.
Do you really need "16" mix channels? I'd try 8 to see if that is related to your problem.