Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: andy-held on November 14, 2007, 04:21:10 am

Title: Crackling sound
Post by: andy-held on November 14, 2007, 04:21:10 am
My sound is always crackling while playing fs2.
I searched through the whole cross-platform forum and tried all solutions for sound problems posted but nothing seems to work.
OS is Ubuntu 7.10, I've got openal installed correctly and I'm using the latest binarys from the cross platform forum link.
I've been playing other games using openal lately and I've not experienced any whatsoever problem.
The problem seems to be alike somehow, but in my case it is just crackling like ALWAYS.
Most times its not really bad but simply annoying, but once in a while its unplayable, making screeching noises.
Any suggestions would be welcomed.
Title: Re: Crackling sound
Post by: Shade on November 14, 2007, 07:19:55 am
Might be sound driver related. Would you perchance be using an integrated Realtek AC97 for audio? Those have been known to cause crackling with outdated drivers. In fact, if you were on Windows, I could say with 100% certainty that this was the problem, but I haven't heard of it happening on Linux before. Still, might nonetheless be worth checking if you have the most up to date drivers.
Title: Re: Crackling sound
Post by: jr2 on November 14, 2007, 10:46:02 am
Last resort, you could buy another sound card.
Title: Re: Crackling sound
Post by: ni1s on November 14, 2007, 10:54:50 am
I'm also getting this, and I have a SB Live! 5.1 (emu10k1) card.
When playing I use oss emulation(set in ~/.openalrc), as ALSA doesn't work for some reason.
And yeah, I too only see this in fs2_open.
Title: Re: Crackling sound
Post by: taylor on November 14, 2007, 11:11:01 am
Try the fix listed here, if you haven't already: http://www.hard-light.net/forums/index.php/topic,38645.msg863192.html#msg863192

That thread is MVE playback specific, but the option can make a different either way.  It fixes most shuddering/crackling of the audio under Linux.  The problem has more to do with OpenAL version and/or the back-end in use rather than the code/date on our side, which is why it really depends on your system as to whether or not this change is even needed.
Title: Re: Crackling sound
Post by: andy-held on November 14, 2007, 11:27:42 am
Great, the linked post helped   :D
Thank you very much.
I've read about the problem, but I thought I also read about it being fixed since 3.6.9
Well whatever it helped, thanks again.
Title: Re: Crackling sound
Post by: chief1983 on November 14, 2007, 01:49:41 pm
A friend of mine fired up 7.10 recently and it's been giving him sound issues too, not just in Freespace but in everything.  Could be partly Ubuntu related.
Title: Re: Crackling sound
Post by: taylor on November 14, 2007, 02:46:09 pm
I'm using 7.10 as well, without any problems, so I doubt it's just a generic Ubuntu issue.
Title: Re: Crackling sound
Post by: Hyperhedron on November 16, 2007, 04:11:48 pm
I'm using 7.10 and it's ok. Do you have openAL installed (as in from the official repositories)?