[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame Mixer Crackle noise not an SDL_Mixer problem



René Dudfield wrote:
hi,

I think from our testing that it's the combination of using video with
the sound.

Are you able to play any of the SDL test programs with video and sound
to see if there is crackling?


cheers,



On Fri, Apr 18, 2008 at 5:20 PM, etrek <etrek@xxxxxxx> wrote:
Hi,
 I didn't use any graphics in my SDL program.  Just the SDL_Mixer.   Here is
a short example of SDL program that plays the files without noise/crackles.
This was compiled with DEV-C++ and MinGW.
[snip code]

This would linking against msvcrt.dll. I wonder if this is related to msvcr71.dll?

It looks like we will be debugging this for awhile. So I have bundled the C programs playwave, playmus, plaympeg and aliens with SDL in a single zip file for Windows. Just unpack, add msvcr71.dll, and mix. I have made them available at http://www3.telus.net/len_l/pygame/ under SDL Test*.

Ethan, would you mind trying these programs. They are linked to msvcr71.dll and use the identical SDL library as Pygame. I have also added instructions for linking an MinGW program to msvcr71. Maybe it will work with DEV-C++ though I tried your example and got a link error, unable to find WinMain@16. This could be because the Pygame's SDL is linked as a windows system (-mwindows).

* md5sum:
30863a49070012bacd5ac22ad49790dc *SDL_test.zip

--
Lenard Lindstrom
<len-l@xxxxxxxxx>