Although i installed alsa last evening, i'm still having problems with
sound in et - i still get errors when et's quake engine tries to mmap
/dev/dsp if other program is using sound in the same time
first it was:
------- sound initialization -------
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
i found a solution for this:
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss (as root)
now the error message is different:
------- sound initialization -------
/dev/dsp: Invalid argument
Could not toggle.
------------------------------------
any ideas how to avoid this?
My modules.conf (only sound modules):
#soundz
#ALSA
alias char-major-116 snd
alias snd-card-0 snd-via82xx
#OSS
alias char-major-14 soundcore
alias sount-slot-0 snd-card-0
#rest
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#saving settings
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
.asoundrc:
pcm.via82xx {
type hw
card 0
}
ctl.via82xx {
type hw
card 0
}
other progams that use sound eg cube is working fine