diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-06-26 19:13:10 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-06-26 19:13:10 +0200 |
commit | 3a21a4d3217afee7903dc53bffe3d37da0ff2567 (patch) | |
tree | 30179a7e06600e7ef28f3345426b544fb2a8676d /mk | |
parent | db7f0c1684bc3318e516d838445956ed359d597d (diff) |
pulse: enable auto-detection of pulse.so module
Diffstat (limited to 'mk')
-rw-r--r-- | mk/modules.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/modules.mk b/mk/modules.mk index 8f4f288..b103924 100644 --- a/mk/modules.mk +++ b/mk/modules.mk @@ -1,7 +1,7 @@ # # modules.mk # -# Copyright (C) 2010 Creytiv.com +# Copyright (C) 2010 - 2016 Creytiv.com # # External libraries: # @@ -37,6 +37,7 @@ # USE_OSS OSS audio driver # USE_PLC Packet Loss Concealment # USE_PORTAUDIO Portaudio audio driver +# USE_PULSE Pulseaudio audio driver # USE_SDL libSDL video output # USE_SILK SILK (Skype) audio codec # USE_SNDFILE sndfile wav dumper @@ -136,6 +137,7 @@ USE_PLC := $(shell [ -f $(SYSROOT)/include/spandsp/plc.h ] || \ USE_PORTAUDIO := $(shell [ -f $(SYSROOT)/local/include/portaudio.h ] || \ [ -f $(SYSROOT)/include/portaudio.h ] || \ [ -f $(SYSROOT_ALT)/include/portaudio.h ] && echo "yes") +USE_PULSE := $(shell pkg-config --exists libpulse && echo "yes") USE_SDL := $(shell [ -f $(SYSROOT)/include/SDL/SDL.h ] || \ [ -f $(SYSROOT)/local/include/SDL/SDL.h ] || \ [ -f $(SYSROOT_ALT)/include/SDL/SDl.h ] && echo "yes") @@ -377,6 +379,9 @@ endif ifneq ($(USE_PORTAUDIO),) MODULES += portaudio endif +ifneq ($(USE_PULSE),) +MODULES += pulse +endif ifneq ($(USE_SDL),) MODULES += sdl endif |