PDA

View Full Version : Crackling under linux client *only* with aoss


overvolting
05-09-2007, 04:23
Hey,
So my problem is if that when I run certain things through aoss the sound comes out crackling a lot.

- teamspeak thru oss: Sounds great, but can't share the soundcard

- teamspeak thru 'aoss': Sound crackles a lot, even if nothing else is running.

If I run wine through aoss it crackles a lot also, but if I configure it to use alsa directly, it doesn't crackle.

If i run music players through aoss they don't crackle at all.

If my problem is with aoss as I am assuming, how can i configure it so that 'aoss teamspeak' can be run without sound crackling?

overvolting
05-09-2007, 05:38
By referencing this document:
http://alsa.opensrc.org/index.php/DmixPlugin

I decided to create the file ~/.asoundrc with the following contents:

# cat ~/.asoundrc
pcm.dsp0 {
type plug
slave.pcm "dmix"
}
# mixer0 can stay unchanged, because
# it isn't used anyway, I guess ;)
ctl.mixer0 {
type hw
card 0
}


Now the sound does *not* crackle, so that was a fix for that, however the microphone no longer works.

EDIT: I used the script at http://alsa.opensrc.org/index.php/Asym and it might be working with less crackling and the microphone, i'll have to test longer

overvolting
09-09-2007, 06:25
Still crackles.