Author Topic: slight sound issues  (Read 2266 times)

0 Members and 1 Guest are viewing this topic.

Offline draeath

  • 25
    • Homepage of Draeath
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)
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
I assume that you use ALSA, so what are the contents of your ~/.openalrc?

If you don't have one then try mine...
(define devices '( alsa native ))
(define speaker-num '( 2 ))

 

Offline draeath

  • 25
    • Homepage of Draeath
I put that file in, but have not yet tested since... I will let you know :)
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)

 

Offline draeath

  • 25
    • Homepage of Draeath
That caused some nasty FPS breakage, no sound, and a zombie process on exit...

Code: [Select]
(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)

Thanks!
« Last Edit: April 06, 2007, 09:12:24 pm by draeath »
PGP Key: 508A8ADE (http://tinyurl.com/3d4ue7)