diff options
author | Jörg Müller <nexyon@gmail.com> | 2021-03-02 19:29:18 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2021-03-17 01:21:45 +0300 |
commit | d33339ebf44855b62200a2784c046792d78c75bc (patch) | |
tree | 425a1d78d6c40f8b188e499cf0db2bc29e8f2d32 /build_files/cmake/platform | |
parent | 7b8fc307dc4ff608fc68e2decee45bae59f0c7c9 (diff) |
Audaspace: add support for PulseAudio on Linux
This adds PulseAudio as audio backend on Linux.
PulseAudio is the main audio engine used on most,
if not all, Linux distributions today.
Ref T86590
Diffstat (limited to 'build_files/cmake/platform')
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index 47c788c7eb6..7791112c6ab 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -552,6 +552,14 @@ if(WITH_JACK) endif() endif() +# Pulse is intended to use the system library. +if(WITH_PULSEAUDIO) + find_package_wrapper(Pulse) + if(NOT PULSE_FOUND) + set(WITH_PULSEAUDIO OFF) + endif() +endif() + # Audio IO if(WITH_SYSTEM_AUDASPACE) find_package_wrapper(Audaspace) |