quasist said:
I use SDL_Mixer (dynamicly linking to library)
Just experiment with the buffer size. #ifdef this size different for gp2x and PC versions.
Only trouble - it slowdowns when mixing together two big wavs. The nice was is to use very little sound effects like 10ms or even less.
I do exactly the same thing. Here's the settings I use (work fine for me)
CODE
#ifdef GP2X
Mix_OpenAudio(44100, AUDIO_S16, 2, 512);
#endif
#ifdef WIN32
Mix_OpenAudio(44100, AUDIO_S16, 2, 2048);
#endif
Similar for me... I needed zero lag for my engine sound. Its about there now.