mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
solaris: Illumos does not ship with SOUND_PCM* functionality
Code reference: https://github.com/joyent/illumos-joyent/blob/master/usr/src/uts/common/sys/audio/audio_oss.h Add autoconf checks for: - SOUND_PCM_READ_RATE - SOUND_PCM_READ_CHANNELS - SOUND_PCM_READ_BITS Some platforms like SunOS (Illumos) may ship without SOUND_PCM_* functionality Thanks to Jonathan Perkin (Joyent) for Illumos code reference.
This commit is contained in:
parent
68216e8ff8
commit
a1191874fe
2 changed files with 13 additions and 0 deletions
|
|
@ -780,6 +780,13 @@ AM_CONDITIONAL([HAVE_OSS_WRAPPER], [test "x$HAVE_OSS_WRAPPER" = "x1"])
|
|||
AS_IF([test "x$HAVE_OSS_OUTPUT" = "x1"], AC_DEFINE([HAVE_OSS_OUTPUT], 1, [Have OSS output?]))
|
||||
AS_IF([test "x$HAVE_OSS_WRAPPER" = "x1"], AC_DEFINE([HAVE_OSS_WRAPPER], 1, [Have OSS wrapper (padsp)?]))
|
||||
|
||||
# Some platforms like SunOS (Illumos) may ship without SOUND_PCM_* functionality
|
||||
if test "x$HAVE_OSS" = "x1"; then
|
||||
AC_CHECK_DECLS([SOUND_PCM_READ_RATE], [], [], [[#include <sys/soundcard.h>]])
|
||||
AC_CHECK_DECLS([SOUND_PCM_READ_CHANNELS], [], [], [[#include <sys/soundcard.h>]])
|
||||
AC_CHECK_DECLS([SOUND_PCM_READ_BITS], [], [], [[#include <sys/soundcard.h>]])
|
||||
fi
|
||||
|
||||
#### CoreAudio support (optional) ####
|
||||
|
||||
AC_ARG_ENABLE([coreaudio-output],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue