Martin Olschewski <olschewski@zpr.uni-koeln.de>: [PATCH] ai_oss.c should check for USE_OSS_AUDIO

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7092 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-08-26 17:20:17 +00:00
parent e80d1a1f41
commit c39611bbe9
1 changed files with 5 additions and 0 deletions

View File

@ -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 @@ int ai_oss_init(audio_in_t *ai)
return 0;
}
#endif /* USE_OSS_AUDIO */