[Mplayer-cvslog] CVS: main/libmpdemux ai_oss.c,1.2,1.3
Alex Beregszaszi
alex at mplayerhq.hu
Mon Aug 26 19:20:33 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv4554
Modified Files:
ai_oss.c
Log Message:
Martin Olschewski <olschewski at zpr.uni-koeln.de>: [PATCH] ai_oss.c should check for USE_OSS_AUDIO
Index: ai_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/ai_oss.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ai_oss.c 22 Aug 2002 08:05:27 -0000 1.2
+++ ai_oss.c 26 Aug 2002 17:20:17 -0000 1.3
@@ -1,4 +1,6 @@
#include "config.h"
+
+#ifdef USE_OSS_AUDIO
#ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
#else
@@ -11,6 +13,7 @@
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
+#include <string.h> /* strerror */
#include "audio_in.h"
#include "mp_msg.h"
@@ -130,3 +133,5 @@
return 0;
}
+
+#endif /* USE_OSS_AUDIO */
More information about the MPlayer-cvslog
mailing list