i have gigabyte GA-7VT600 1394 motherboard with via vt8237 south bridge chipset and 
realtek alc655 ac97 codec. i'm using via82xx driver for it.
i keep hearing crackling noises when using the oss emulation. it's ok when using 
output directly to alsa,though.well, my problem is "enemy territory":-) game, which 
needs oss. the sound in it is horribly choped. what i get in  my system log is

"Nov 30 01:40:37 vopich kernel: ALSA ../alsa-kernel/core/pcm_lib.c:61: BUG? 
(runtime->silence_filled <= runtime->buffer_size) (called from e1df9054)"

i've noticed that the game probably outputs only at sample rates 44100/22050/11025 and 
the driver is set to 48000. automatic resampling works with everything else so i 
thought that maybe there is something wrong with the oss in the game so i tried to 
resample it manualy using asoundrc and aoss. it didn't work so i tried it with aplay 
and output directly to alsa. i used both the rate and the plug plugins but it always 
exited with error if the rate set was anything else that 48000. the error is something 
like this:

"ALSA lib pcm_params.c:2096:(snd_pcm_hw_refine_slave) Slave PCM not usable"
"aplay: set_params:805: Broken configuration for this PCM: no configurations 
available" 

so it could be something in share/alsa/alsa.conf or somewhere else. i don't know. the 
weird thing is that automatic resampling works and that manual A
too if i set it to 48000. so i'm using the kernel sound driver via82cxxx_audio. it's 
output s pretty bad too, but not as bad as with alsa.

this is my .asoundrc
pcm.via {
        type hw
        card 0
        device 0
        subdevice 0
        mmap_emulation 0
}
pcm_slave.via_sl {
        pcm via
        rate 44100
}
pcm.rate_convert {
        type rate
        slave via_sl
}
pcm.via3 {
        type plug
        slave via_sl
}

using aplay         works fine
using aplay -D via            uses wrong sample rate and outputs funny
using aplay -D rate_convert | via3                    exits with above error.

I guess that i'm doing something wrong but what? i've never had any problems with alsa 
in the past years. however i've noticed that many people have the same problem with 
"enemy territory" or "quake". 

thanks for help
martin

----------------------------------------------------
chaos beats order because it's much better organized

________________________________________________________________________________
Udělejte Ježíškovi místo na stole! Nečekejte letos na 23.12., využijte vánoční nabídky 
a potěšte své blízké dárkem od HP.
http://www.email.cz/hp



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to