[MPlayer-dev-eng] [patch] prefer ALSA over OSS

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Fri May 4 11:40:18 CEST 2007


Hi Compn!

 On 2007.05.03 at 22:38:49 -0400, Compn wrote next:

> does oss work in other players for your card? vlc? xine? xmms?

Nope.

> if so can you post logs/output from them?
> 
> does mplayer -ao oss -af format=s16be file.mp3 , work for you?

[AO OSS] Can't set audio device /dev/dsp1 to s16be output, trying s16le
[AO OSS] Can't set audio device /dev/dsp1 to s16le output, trying s16le
[AO OSS] Can't set audio device /dev/dsp1 to s16le output, trying s16le
[AO OSS] Can't set audio device /dev/dsp1 to s16le output, trying s16le
[AO OSS] Can't set audio device /dev/dsp1 to s16le output, trying s16le
...

However, I was wrong about /dev/dsp1 device: it doesn't seem to be my
usb card, it looks more like second audio device on audigy. Well, who
cares. It doesn't work as well (it works perfectly though alsa), and
there are no dsp devices for usb card at all.

I just found this in alsa wiki:

---
Some USB devices support only 24bit format packed in 3bytes. This format
is not supported by OSS and no conversion is provided by kernel OSS
emulation. You can, however, use the user-space OSS emulation via
libaoss instead.
---

Well.. like I said in other message, a small step away from
hardware-mixing stereo card which supports any rate and format and you
are screwed with kernel oss emulation in alsa.

As for /dev/dsp1 problem (which could be accessed though
alsa:device=plughw=0.4), I'm open to your suggestions. Right now I don't
think it could be used at all.

-- 

Vladimir



More information about the MPlayer-dev-eng mailing list