From c912a416c91771ed36e0771b75e54ae6a0b8c0fa Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Mon, 23 Oct 2023 22:51:23 +0200 Subject: [PATCH] FIX(positional-audio): Fix Source Engine plugin not working on Windows The bug was introduced in 13cbf728775cee0b6c963d642193192dd57f24e1. It was only reported last year and because of a side effect: consistent lag for the entire application. That's something that should be dealt with independently. --- plugins/se/se.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/se/se.cpp b/plugins/se/se.cpp index 4fbeb12bda1..37badf7574f 100644 --- a/plugins/se/se.cpp +++ b/plugins/se/se.cpp @@ -19,7 +19,11 @@ std::unique_ptr< ProcessBase > proc; +#ifdef OS_WINDOWS +static constexpr bool isWin32 = true; +#else static bool isWin32 = false; +#endif #include "client.h" #include "common.h"