Commit fdd03d2d authored by James Almer's avatar James Almer

Merge commit 'b586903a'

* commit 'b586903a':
  build: Drop redundant check for soundcard.h
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 1a4315f2 b586903a
...@@ -1934,7 +1934,6 @@ HEADERS_LIST=" ...@@ -1934,7 +1934,6 @@ HEADERS_LIST="
opencv2_core_core_c_h opencv2_core_core_c_h
OpenGL_gl3_h OpenGL_gl3_h
poll_h poll_h
soundcard_h
stdatomic_h stdatomic_h
sys_param_h sys_param_h
sys_resource_h sys_resource_h
...@@ -3097,8 +3096,8 @@ libcdio_indev_deps="libcdio" ...@@ -3097,8 +3096,8 @@ libcdio_indev_deps="libcdio"
libdc1394_indev_deps="libdc1394" libdc1394_indev_deps="libdc1394"
openal_indev_deps="openal" openal_indev_deps="openal"
opengl_outdev_deps="opengl" opengl_outdev_deps="opengl"
oss_indev_deps_any="soundcard_h sys_soundcard_h" oss_indev_deps_any="sys_soundcard_h"
oss_outdev_deps_any="soundcard_h sys_soundcard_h" oss_outdev_deps_any="sys_soundcard_h"
pulse_indev_deps="libpulse" pulse_indev_deps="libpulse"
pulse_outdev_deps="libpulse" pulse_outdev_deps="libpulse"
sdl2_outdev_deps="sdl2" sdl2_outdev_deps="sdl2"
...@@ -6184,7 +6183,6 @@ else ...@@ -6184,7 +6183,6 @@ else
audio_buf_info abc; audio_buf_info abc;
EOF EOF
fi fi
check_header soundcard.h
enabled alsa && check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp || enabled alsa && check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound
......
...@@ -23,17 +23,12 @@ ...@@ -23,17 +23,12 @@
#include <string.h> #include <string.h>
#if HAVE_SOUNDCARD_H
#include <soundcard.h>
#else
#include <sys/soundcard.h>
#endif
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/soundcard.h>
#include "libavutil/log.h" #include "libavutil/log.h"
......
...@@ -23,17 +23,12 @@ ...@@ -23,17 +23,12 @@
#include <stdint.h> #include <stdint.h>
#if HAVE_SOUNDCARD_H
#include <soundcard.h>
#else
#include <sys/soundcard.h>
#endif
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/soundcard.h>
#include "libavutil/internal.h" #include "libavutil/internal.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
......
...@@ -21,17 +21,12 @@ ...@@ -21,17 +21,12 @@
#include "config.h" #include "config.h"
#if HAVE_SOUNDCARD_H
#include <soundcard.h>
#else
#include <sys/soundcard.h>
#endif
#if HAVE_UNISTD_H #if HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/soundcard.h>
#include "libavutil/internal.h" #include "libavutil/internal.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment