mirror of
https://github.com/mpv-player/mpv
synced 2025-03-30 07:18:17 +00:00
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:
parent
e80d1a1f41
commit
c39611bbe9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user