Forums » Linux
sound error оn linux, alsa-oss
Debian sarge, alsa drivers with oss emulation, vendetta gives error:
/dev/dsp: Input/output error
Other programs using oss work fine, i.e. when I do:
cat some_file > /dev/dsp
or
mplayer -ao oss some_movie
or
xmms with oss output plugin,
I heаr a beautiful sound.
If I do:
/etc/init.d/alsa stop
then
modprobe cs46xx (native oss driver),
sound in vendetta works without problems.
I can't use oss by default, since many other software work with alsa better. How can I make vendetta work with alsa oss emulation?
/dev/dsp: Input/output error
Other programs using oss work fine, i.e. when I do:
cat some_file > /dev/dsp
or
mplayer -ao oss some_movie
or
xmms with oss output plugin,
I heаr a beautiful sound.
If I do:
/etc/init.d/alsa stop
then
modprobe cs46xx (native oss driver),
sound in vendetta works without problems.
I can't use oss by default, since many other software work with alsa better. How can I make vendetta work with alsa oss emulation?
I don't know if this is actually true, but i've heard that it could have problems working with the alsa driver. Though it's nice with the ability to have (for an example) xmms running mp3's in the background - the native oss drivers often works better than emulated drivers as alsa. If one's soundcard actually support native mixing of multible sound channels there would be some /dev/dsp? devices for assigning different programs to output in. Vendetta - however - always takes /dev/dsp, which can't be changed.
EDIT: btw tried the alsa myself... i quickly turned around, running of with my hands in the air - screaming ;D
EDIT: btw tried the alsa myself... i quickly turned around, running of with my hands in the air - screaming ;D
run alsa-oss emulation. its a module for alsa (oss emulation). should be pretty clear from the documentation how to use it, or you can let it configure itself.
The point of my message was: alsa oss emulation doesn't work with vendetta, though it works with other programs.
Is it a bug?
P.S. This was for KingFido
Is it a bug?
P.S. This was for KingFido
i use a (onboard) C-Media CMI8738 sound device (ONLY supported by ALSA) i used to use a SB-Live, but i find that the onboard sound on this board is accualy better (for what i paid for the board it better be (although i didnt buy it for the sound)) i have alsa-oss installed and running, and vendetta works fine with it, as long as NO other app tries to access the sound. if i have say XMMS running (through alsa-xmms plugin) i get that same error.
are you useing esd, aRts, or another app which uses the sound?
oninoshiko
are you useing esd, aRts, or another app which uses the sound?
oninoshiko
alsa-oss works better than plain oss here on sblive... do you actually know if that version of ALSA supports ur card?
2roguelazer
<<do you actually know if that version of ALSA supports ur card?>>
Yes, it does (snd-cs46xx module). snd-mixer-oss and snd-pcm-oss modules are loaded and working. Again, all other OSS progs work when I use alsa.
Do you actualy use vendetta with alsa-oss?
<<do you actually know if that version of ALSA supports ur card?>>
Yes, it does (snd-cs46xx module). snd-mixer-oss and snd-pcm-oss modules are loaded and working. Again, all other OSS progs work when I use alsa.
Do you actualy use vendetta with alsa-oss?
Yep.
Alsa works great for me, and I hear it is the native sound driver in the Linux Kernel 2.6 :)
As i said - i've both had myself and heard of ppl having problems with alsa and vendetta...
Um. If you run arts/esd and run vendetta with this command:
esddsp vendetta
artsdsp vendetta
(depending on whether you run esd or arts)
then run the new program also with esddsp/artsdsp, you will have software emulation of hardware mixing and should get no error.
esddsp vendetta
artsdsp vendetta
(depending on whether you run esd or arts)
then run the new program also with esddsp/artsdsp, you will have software emulation of hardware mixing and should get no error.
Right, if I launch artsd and run "artsdsp -m vendetta" I here sound, but it is a little slow and crappy.
No way alsa-oss alone works. I did not try it with new vendetta yet...
No way alsa-oss alone works. I did not try it with new vendetta yet...
Get kernel 2.6. :) It works great for me with 2.6.
Hmm... arts? esd?
I don't use either one.
Just plain ol' /dev/dsp and the sound is perfect.
(emu101k or whatever it's called is compiled into my 2.4.20 kernel)
I don't use either one.
Just plain ol' /dev/dsp and the sound is perfect.
(emu101k or whatever it's called is compiled into my 2.4.20 kernel)
If the driver is compiled into kernel, it is native OSS driver, not alsa oss emulation.
Unless you have kernel 2.6. In which case OSS, ALSA and ALSA-OSS can all be compiled in at the same time for a "unique" effect.