From 044ecda874fe76a4f3b0ec3004be9070ff6dcafd Mon Sep 17 00:00:00 2001 From: mancoast Date: Tue, 4 Jun 2019 13:17:25 -0400 Subject: [PATCH] Update pmSDL.hpp WASAPI_LOOPBACK requires WIN32 --- src/projectM-sdl/pmSDL.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/projectM-sdl/pmSDL.hpp b/src/projectM-sdl/pmSDL.hpp index 7e6d0d1ea..9968353f7 100644 --- a/src/projectM-sdl/pmSDL.hpp +++ b/src/projectM-sdl/pmSDL.hpp @@ -30,8 +30,10 @@ #define pmSDL_hpp -// Disable these for mic input +// Disable LOOPBACK and FAKE audio to enable microphone input +#ifdef WIN32 #define WASAPI_LOOPBACK 1 +#endif /** WIN32 */ #define FAKE_AUDIO 0 // ---------------------------- #define TEST_ALL_PRESETS 0