[MPlayer-users] Can't open audio device /dev/dsp

James Moe jimoe at sohnen-moe.com
Mon Jan 4 20:05:06 CET 2010


Hello,

MPlayer SVN-r30193-4.3
opensuse v11.1
linux 2.6.27.39-0.2-default x86_64

  While attempting to play an audio MP3 clip:

[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or
resource busy
DVB card number must be between 1 and 4
AO: [null] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video

  I tried the suggestion in the FAQ that addressed this very question;
no joy there.
  Here is what configure.log has to say about ALSA:

============ Checking for ALSA audio ============

#include <sys/time.h>
#include <sys/asoundlib.h>
#if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 5))
#error "alsa version != 0.5.x"
#endif
int main(void) { return 0; }

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe
-ffast-math -fomit-frame-pointer -I.  -D_REENTRANT    -ffast-math
-lncurses -lpng -lz   -lXext -lX11 -lpthread -lXss -lXv -lXinerama
-lXxf86vm -lXxf86dga -lGL -ldl  -o /tmp/mplayer-conf-19375-12398
/tmp/mplayer-conf-30270-12398.c -lasound -ldl -lpthread
/tmp/mplayer-conf-30270-12398.c:2:27: error: sys/asoundlib.h: No such
file or directory
/tmp/mplayer-conf-30270-12398.c:3:8: warning: "SND_LIB_MAJOR" is not defined
/tmp/mplayer-conf-30270-12398.c:3:32: warning: "SND_LIB_MINOR" is not
defined
/tmp/mplayer-conf-30270-12398.c:4:2: error: #error "alsa version != 0.5.x"

  There are two or three other entries. The common thread being
"error: sys/asoundlib.h: No such file or directory"



-- 
James Moe
jimoe at sohnen-moe dot com
520.743.3936


More information about the MPlayer-users mailing list