Gloire ? mon saigneur Arioch
http://www.murlock.org
-------------- next part --------------
A non-text attachment was scrubbed…
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1529 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20010724/b18db37b/attachment.bin
Sorry for this empty post but i’m very tired…
Well, with my computer (WinMe, 384Mo, DirectX8, P3-600Mhz, SB16), SDL 1.2.2
and SDL_Mixer 1.2.0, sound looks terrible when i run the exe (who doesn’t
play any sound)
but when i perform step by step my program, no crappy sound is played…
Ex:
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO );
SDL_Surface display = SDL_SetVideoMode(3202, 240*2, 8,SDL_HWPALETTE );
Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 1, 32);
for(int i=0; i<500;i++) SDL_Delay(100);
SDL_Quit();
Finally, i’ve found that if I exchange Mix_ and SDL_SetVideoMode, no more
crappy sound !!
I’ve seen nothing in Faq or Doc about this… more info are available
somewhere ?
Ex:
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO );
Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 1, 32);
SDL_Surface display = SDL_SetVideoMode(3202, 240*2, 8,SDL_HWPALETTE );
for(int i=0; i<500;i++) SDL_Delay(100);
SDL_Quit();--------------------
Gloire ? mon saigneur Arioch
http://www.murlock.org