mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780432 - Add experimental --enable-pulseaudio configure option. r=kinetik,khuey
--HG-- extra : rebase_source : 9bf00787997d4ed465427e6570c5d937c1cb9ff4
This commit is contained in:
parent
025a3fd016
commit
9d6fc2f877
@ -595,6 +595,7 @@ psap.h
|
||||
Pt.h
|
||||
pthread.h
|
||||
pthread_np.h
|
||||
pulse/pulseaudio.h
|
||||
pwd.h
|
||||
Python.h
|
||||
QDOffscreen.h
|
||||
|
20
configure.in
20
configure.in
@ -5550,6 +5550,26 @@ if test -n "$MOZ_SYDNEYAUDIO" -a "$OS_TARGET" = "Linux"; then
|
||||
AC_MSG_ERROR([Need alsa for Ogg, Wave or WebM decoding on Linux. Disable with --disable-ogg --disable-wave --disable-webm. (On Ubuntu, you might try installing the package libasound2-dev.)])])
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable PulseAudio
|
||||
dnl ========================================================
|
||||
|
||||
MOZ_ARG_ENABLE_BOOL(pulseaudio,
|
||||
[ --enable-pulseaudio Enable PulseAudio support (experimental)],
|
||||
MOZ_PULSEAUDIO=1,
|
||||
MOZ_PULSEAUDIO=)
|
||||
|
||||
if test -n "$MOZ_PULSEAUDIO"; then
|
||||
AC_DEFINE(MOZ_CUBEB)
|
||||
PKG_CHECK_MODULES(MOZ_PULSEAUDIO, libpulse, ,
|
||||
[echo "$MOZ_PULSEAUDIO_PKG_ERRORS"
|
||||
AC_MSG_ERROR([pulseaudio audio backend requires libpulse package])])
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_PULSEAUDIO)
|
||||
AC_SUBST(MOZ_PULSEAUDIO_CFLAGS)
|
||||
AC_SUBST(MOZ_PULSEAUDIO_LIBS)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable GStreamer
|
||||
dnl ========================================================
|
||||
|
@ -595,6 +595,7 @@ psap.h
|
||||
Pt.h
|
||||
pthread.h
|
||||
pthread_np.h
|
||||
pulse/pulseaudio.h
|
||||
pwd.h
|
||||
Python.h
|
||||
QDOffscreen.h
|
||||
|
@ -42,4 +42,10 @@ CSRCS = \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifdef MOZ_PULSEAUDIO
|
||||
CSRCS = \
|
||||
cubeb_pulse.c \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -376,6 +376,12 @@ EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef MOZ_PULSEAUDIO
|
||||
ifdef MOZ_CUBEB
|
||||
EXTRA_DSO_LDOPTS += $(MOZ_PULSEAUDIO_LIBS)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef HAVE_CLOCK_MONOTONIC
|
||||
EXTRA_DSO_LDOPTS += $(REALTIME_LIBS)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user