Advertisement

Static

Started by April 24, 2004 05:20 AM
0 comments, last by Micken 20 years, 7 months ago
Hi! I''m new. Just started getting into programming games with SDL. so far so good, I''ve just added a sound effect to my game. The problem is: When my program plays the sound, where there should be silence there is noise. so instead of hearing it reverb into silence, you hear short reverb then some dirty static. I think this could be a hardware problem as my soundcard is very old. But it could also not be a hardware problem, considering the program I made the effect with sounded nice, and it also plays perfectly in windows media player. It does not play perfectly in winamp 5.01 So, seeing as Windows media player can play it fine, why can''t my program play it well either?
Hi! I''ve fixed the problem in winamp and discovered what i have to do to fix it in my game.

In winamp i had to enable the "Create Primary Buffer" in the config file for directsound.

I was wondering how i could do this in my game with SDL.

This topic is closed to new replies.

Advertisement