added rtaudio sink

This commit is contained in:
Ryzerth
2021-02-20 22:05:13 +01:00
parent 044f8cbffd
commit 127d6bf0a7
3 changed files with 263 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ option(OPT_BUILD_PLUTOSDR_SOURCE "Build PlutoSDR Source Module (Depedencies: lib
option(OPT_BUILD_HACKRF_SOURCE "Build HackRF Source Module (Depedencies: libhackrf)" OFF)
option(OPT_BUILD_RTL_SDR_SOURCE "Build HackRF Source Module (Depedencies: libhackrf)" ON)
option(OPT_BUILD_AUDIO_SINK "Build Audio Sink Module (Depedencies: portaudio)" ON)
option(OPT_BUILD_RTAUDIO_SINK "Build RtAudio Sink Module (Depedencies: rtaudio)" OFF)
# Core of SDR++
add_subdirectory("core")
@@ -63,6 +64,10 @@ if (OPT_BUILD_AUDIO_SINK)
add_subdirectory("audio_sink")
endif (OPT_BUILD_AUDIO_SINK)
if (OPT_BUILD_RTAUDIO_SINK)
add_subdirectory("rtaudio_sink")
endif (OPT_BUILD_RTAUDIO_SINK)
if (MSVC)
set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc")
else()