Skip to content
Permalink
Browse files

Merge PR #3338: Build with PortAudio support if the "portaudio" CONFI…

…G flag is specified
  • Loading branch information...
mkrautz committed Feb 13, 2018
2 parents 0dddc43 + a0e2797 commit 48277cb2f203aef47984c90b7567890668a68e79
Showing with 2 additions and 8 deletions.
  1. +2 −2 INSTALL
  2. +0 −6 src/mumble/mumble.pro
@@ -114,8 +114,8 @@ CONFIG+=no-directsound (Mumble, Win32)
CONFIG+=no-wasapi (Mumble, Win32)
Don't build support for WASAPI.

CONFIG+=no-portaudio (Mumble, Unix, OSX)
Don't build support for PortAudio.
CONFIG+=portaudio (Mumble, Unix, OSX)
Build support for PortAudio.

CONFIG+=no-pulseaudio (Mumble, Unix)
Don't build support for PulseAudio.
@@ -444,14 +444,8 @@ win32 {

unix {
HAVE_PULSEAUDIO=$$system(pkg-config --modversion --silence-errors libpulse)
HAVE_PORTAUDIO=$$system(pkg-config --modversion --silence-errors portaudio-2.0)

!isEmpty(HAVE_PORTAUDIO):!CONFIG(no-portaudio) {
CONFIG *= portaudio
}

!isEmpty(HAVE_PULSEAUDIO):!CONFIG(no-pulseaudio) {
CONFIG -= portaudio
CONFIG *= pulseaudio
}

0 comments on commit 48277cb

Please sign in to comment.
You can’t perform that action at this time.