audio in layer is used only bu tvi_v4l, don't compile for others.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7214 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-08-31 22:41:29 +00:00
parent b9a16d87f3
commit 74dbe1d838
4 changed files with 29 additions and 10 deletions

View File

@ -1,6 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
#include "config.h"
#ifdef HAVE_ALSA9
#if defined(USE_TV) && defined(HAVE_TV_V4L) && defined(HAVE_ALSA9)
#include <alsa/asoundlib.h>
#include "audio_in.h"
#include "mp_msg.h"

View File

@ -1,6 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
#include "config.h"
#ifdef HAVE_ALSA9
#if defined(USE_TV) && defined(HAVE_TV_V4L) && defined(HAVE_ALSA9)
#include <alsa/asoundlib.h>
#include "audio_in.h"
#include "mp_msg.h"

View File

@ -1,6 +1,15 @@
#include <stdio.h>
#include <stdlib.h>
#include "config.h"
#ifdef USE_OSS_AUDIO
#if defined(USE_TV) && defined(HAVE_TV_V4L) && defined(USE_OSS_AUDIO)
#include <string.h> /* strerror */
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
#else
@ -10,10 +19,6 @@
#include <linux/soundcard.h>
#endif
#endif
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <string.h> /* strerror */
#include "audio_in.h"
#include "mp_msg.h"

View File

@ -1,8 +1,12 @@
#include "config.h"
#include "audio_in.h"
#include "mp_msg.h"
#include <stdio.h>
#include <stdlib.h>
#include "config.h"
#if defined(USE_TV) && defined(HAVE_TV_V4L)
#include "audio_in.h"
#include "mp_msg.h"
#include <string.h>
#include <errno.h>
@ -190,3 +194,5 @@ int audio_in_read_chunk(audio_in_t *ai, unsigned char *buffer)
return -1;
}
}
#endif