[MPlayer-dev-eng] [PATCH] --enable-linux-devfs + audio fix
Mark Szabo
mw3 at bsd.hu
Fri Mar 29 20:14:21 CET 2002
Hi there,
I tried to compile mplayer with the '--enable-linux-devfs' option.
It worked fine, but when I tried to watch a movie I didn't have sound.
I took a look on it, and I found the bug. When I compiled it with
'--enable-linux-devfs' it tried to open /dev/sound/dspW instand of
/dev/sound/dsp. With the attached patch I can compile mplayer with
'--enable-linux-devfs' and it works fine, without trouble.
--
Mark Szabo (Mw3)
mw3 at bsd.hu
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.416
diff -u -r1.416 configure
--- configure 28 Mar 2002 20:39:44 -0000 1.416
+++ configure 29 Mar 2002 17:44:57 -0000
@@ -2265,7 +2265,7 @@
_aosrc="$_aosrc ao_oss.c"
_aomodules="oss $_aomodules"
if test "$_linux_devfs" = yes; then
- _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound/dspW"'
+ _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound/dsp"'
_def_ossaudio_devmixer='#define PATH_DEV_MIXER "/dev/sound/mixer"'
else
_def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"'
More information about the MPlayer-dev-eng
mailing list