Browse Source

Allow to skip RtAudio fallback in JACK/Standalone mode

Signed-off-by: falkTX <falktx@falktx.com>
pull/357/head
falkTX 3 years ago
parent
commit
dabfd5d884
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      Makefile.base.mk
  2. +1
    -1
      distrho/src/jackbridge/JackBridge.cpp

+ 4
- 0
Makefile.base.mk View File

@@ -262,6 +262,9 @@ endif

HAVE_LIBLO = $(shell $(PKG_CONFIG) --exists liblo && echo true)

ifeq ($(SKIP_RTAUDIO_FALLBACK),true)
CXXFLAGS += DPF_JACK_STANDALONE_SKIP_RTAUDIO_FALLBACK
else
ifeq ($(MACOS),true)
HAVE_RTAUDIO = true
else ifeq ($(WINDOWS),true)
@@ -275,6 +278,7 @@ else ifeq ($(HAVE_PULSEAUDIO),true)
HAVE_RTAUDIO = true
endif
endif
endif

# backwards compat
HAVE_JACK = true


+ 1
- 1
distrho/src/jackbridge/JackBridge.cpp View File

@@ -36,7 +36,7 @@
#include "../../extra/LibraryUtils.hpp"

// in case JACK fails, we fallback to RtAudio's native API
#ifdef DISTRHO_PROPER_CPP11_SUPPORT
#if defined(DISTRHO_PROPER_CPP11_SUPPORT) && !defined(DPF_JACK_STANDALONE_SKIP_RTAUDIO_FALLBACK)
# include "RtAudioBridge.hpp"
# ifdef RTAUDIO_API_TYPE
# include "rtaudio/RtAudio.cpp"


Loading…
Cancel
Save