Re: Mix_OpenAudio makes crash Windows Kernel

"GameCodingNinja" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
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.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.