[Mplayer-cvslog] CVS: main/libmpdemux audio_in.h,1.2,1.3
Arpi of Ize
arpi at mplayerhq.hu
Sat Dec 28 14:39:54 CET 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv1157/libmpdemux
Modified Files:
audio_in.h
Log Message:
Lots of functions and variables specific to OSS audio are used without
ifdefs, so it is not possible to compile mplayer without enabling it,
alse some are already ifdefed, so it is a mess.
patch by Filip Kalinski <filon at pld.org.pl>
Index: audio_in.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/audio_in.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- audio_in.h 2 Oct 2002 16:46:55 -0000 1.2
+++ audio_in.h 28 Dec 2002 13:39:51 -0000 1.3
@@ -19,11 +19,13 @@
} ai_alsa_t;
#endif
+#ifdef USE_OSS_AUDIO
typedef struct {
char *device;
int audio_fd;
} ai_oss_t;
+#endif
typedef struct
{
@@ -44,7 +46,9 @@
#ifdef HAVE_ALSA9
ai_alsa_t alsa;
#endif
+#ifdef USE_OSS_AUDIO
ai_oss_t oss;
+#endif
} audio_in_t;
int audio_in_init(audio_in_t *ai, int type);
@@ -62,8 +66,10 @@
int ai_alsa_xrun(audio_in_t *ai);
#endif
+#ifdef USE_OSS_AUDIO
int ai_oss_set_samplerate(audio_in_t *ai);
int ai_oss_set_channels(audio_in_t *ai);
int ai_oss_init(audio_in_t *ai);
+#endif
#endif /* _audio_in_h */
More information about the MPlayer-cvslog
mailing list