Talk:TIP ALSA with Quake3/Enemy-Territory

From Gentoo Linux Wiki

Jump to: navigation, search

I only got it working when setting the sound quality to 44khz (ultra high); anything lower would not work. Is this normal?

Contents

[edit] OSS emulation?

Is the OSS-Emulation (in kernel) needed?
I tried to run quake3 with alsa-oss (aoss quake3), but quake3 didn't wanted to start.
And if there's no OSS-Emulation, there's no /dev/dsp ;)

[edit] OSS Emulation Required for ET

As far as I can tell, OSS emulation is required: as suggested on the forums (http://forums.gentoo.org/viewtopic-t-303693-highlight-enemy+territory+sound.html), not only compile OSS-Emulation into the kernel, but, in the case of Enemy Territory, also:

killall artsd
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss

[edit] OSS

I hawing error:

------- sound initialization -------
GETOSPACE: Invalid argument
Um, can't do GETOSPACE?
------------------------------------

I tried echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss and many command line parameters. What to do?

[edit] OSS Part 2

looks like this simple doens't work. I tried this one:

find /proc/asound/card* -name oss | while read a; do echo et.x86 0 0 direct > $a; done

This works better. btw: some of configs are useful too:

seta snddevice "/dev/dsp"
set s_initsound 1
Personal tools