Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: draeath on April 04, 2007, 06:10:23 pm
Title: slight sound issues
Post by: draeath on April 04, 2007, 06:10:23 pm
I just finished compiling from CVS (3.6.10 4/4/2007) and everything works perfect except one minor thing.
The sound regularly (once or twice a second) will glitch (from what I can tell it's every sound doing it, but not all sound does it at the same time). The glitch is not extremely loud or anything, and it does not interfere with listening or play, but it is just enough to be irritating.
I would blame my sound card or sound system but for the fact that I do not have this (or any other) issue anywhere else. I am running kubuntu (linux) with kernel 2.6.17-11 using a built-in AC-97 based realtek. I am using alsa - I also tried making sure artsd was down and that did not help.
I cannot test this in windows as SCP crashes to desktop on launch no matter what I try.
Are there any sound related command lines I could try? Is there any other information that would be helpful? If it comes to it, what files should I start mucking with before compiling? (note that I am a beginning programmer)
Title: Re: slight sound issues
Post by: taylor on April 04, 2007, 07:14:38 pm
I assume that you use ALSA, so what are the contents of your ~/.openalrc?
(define devices '(native alsa)) (define alsa-device "dmix") (define speaker-num 2) Worked like a charm however! :P
Note that before I tried that I also recompiled fs2 with a rash of CFLAGS for my CPU (pentiumD in 32-bin mode) (-O3 -march=nocona -mmmx -msse -msse2 -msse3 -m32 -mfpmath=sse -pipe -fomit-frame-pointer)