From: Justin C. <jch...@gm...> - 2010-05-16 15:18:06
|
Hey Guys, I've noticed a loud static sound in all games (only tested in 3.0.0 and 3.1.2). Changing various audio settings in the sound dialog changes the sound of the static but never eliminates it. It's so loud you can barely hear the effects from the games. I did some searching and found that there have been scattered reports of the same thing from time to time as well. I decided to mess around with the code a bit and found that making the change below (attached) completely eliminates the static and sound seems to work fine. Obviously switching from unsigned 8bit to unsigned 16bit fixes the issue on my system, but as I'm not familiar with SDL I'm really not sure why that is, or why it would be required on my system. Here are the details on my system: Gentoo Linux 64bit 2.6.33 SMP kernel Phenom II X2 550 Creative SBLive (03:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 04)) Gefore 8800 GTS (01:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2)) gcc-4.3.4 libSDL-1.2.13 alsa-1.0.20 Hope this helps. If there's any more information I can provide or patches I can test I'd be more than happy to help. Thanks for the great emulator! Justin |