From cc5b78deba73a629921a9cd99f7250e9185a1945 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 26 Aug 2021 14:49:40 -0400 Subject: [PATCH] Exclude ASIO from RtAudio by default but add RTAUDIO_ASIO Makefile variable to include it. --- dep/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dep/Makefile b/dep/Makefile index cea2b6a7..14c97036 100755 --- a/dep/Makefile +++ b/dep/Makefile @@ -213,7 +213,12 @@ ifdef ARCH_MAC RTAUDIO_FLAGS += -DRTAUDIO_API_CORE=ON -DRTAUDIO_API_PULSE=OFF -DRTAUDIO_API_JACK=OFF endif ifdef ARCH_WIN -RTAUDIO_FLAGS += -DRTAUDIO_API_DS=ON -DRTAUDIO_API_WASAPI=ON -DRTAUDIO_API_ASIO=ON +RTAUDIO_FLAGS += -DRTAUDIO_API_DS=ON -DRTAUDIO_API_WASAPI=ON +# ASIO is proprietary software owned by Steinberg, so distributing it with your own VCV Rack build would violate Rack's GPLv3 license. +# However, since VCV owns the copyright of all GPL'd code in the Rack package, we include ASIO in the Windows build for convenience to our users. +ifdef RTAUDIO_ASIO +RTAUDIO_FLAGS += -DRTAUDIO_API_ASIO=ON +endif endif $(rtaudio): | rtaudio