Not forcing any RtAudio backend. This is still te be found out what works properly
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3e6c8cf3b2
commit
318a565e17
@ -1,11 +1,8 @@
|
|||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(home $ENV{USERPROFILE})
|
set(home $ENV{USERPROFILE})
|
||||||
|
|
||||||
# set(miniconda_dir ${home}\\Miniconda3)
|
# set(miniconda_dir ${home}\\Miniconda3)
|
||||||
message("Building for Windows")
|
message("Building for Windows")
|
||||||
add_definitions(-DHAS_RTAUDIO_WIN_WASAPI_API)
|
|
||||||
else() # Linux compile
|
else() # Linux compile
|
||||||
|
message("Building for Linux :)")
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -2,11 +2,12 @@
|
|||||||
if(LASP_HAS_RTAUDIO)
|
if(LASP_HAS_RTAUDIO)
|
||||||
message("Building RtAudio backend")
|
message("Building RtAudio backend")
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(RTAUDIO_API_WASAPI TRUE CACHE BOOL "Build for WASAPI" FORCE)
|
set(RTAUDIO_API_WASAPI FALSE CACHE BOOL "Build for WASAPI backend")
|
||||||
|
set(RTAUDIO_API_DS TRUE CACHE BOOL "Build for Directsound backend")
|
||||||
else()
|
else()
|
||||||
set(RTAUDIO_API_PULSE TRUE CACHE BOOL "Build with PulseAudio backend" FORCE)
|
set(RTAUDIO_API_PULSE TRUE CACHE BOOL "Build with PulseAudio backend")
|
||||||
set(RTAUDIO_API_ALSA OFF CACHE BOOL "Do not build with Alsa backend" FORCE)
|
set(RTAUDIO_API_ALSA OFF CACHE BOOL "Do not build with Alsa backend")
|
||||||
set(RTAUDIO_API_JACK OFF CACHE BOOL "Do not build with Jack backend" FORCE)
|
set(RTAUDIO_API_JACK OFF CACHE BOOL "Do not build with Jack backend")
|
||||||
endif()
|
endif()
|
||||||
set(RTAUDIO_BUILD_STATIC_LIBS ON CACHE BOOL "Build static libs for RtAudio" FORCE)
|
set(RTAUDIO_BUILD_STATIC_LIBS ON CACHE BOOL "Build static libs for RtAudio" FORCE)
|
||||||
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/rtaudio)
|
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/rtaudio)
|
||||||
|
Loading…
Reference in New Issue
Block a user