SDL: SDL_wasapi.c: added comment about SDL_AudioClientProperties workaround (48fe7)

From 48fe7b7d6a9275a1cd7d785c9a9d600445c571f4 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 19 May 2026 11:21:04 +0300
Subject: [PATCH] SDL_wasapi.c: added comment about SDL_AudioClientProperties
 workaround

---
 src/audio/wasapi/SDL_wasapi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/audio/wasapi/SDL_wasapi.c b/src/audio/wasapi/SDL_wasapi.c
index bdbbf81772b99..54957f4990647 100644
--- a/src/audio/wasapi/SDL_wasapi.c
+++ b/src/audio/wasapi/SDL_wasapi.c
@@ -65,6 +65,9 @@ static bool immdevice_initialized = false;
 static bool supports_recording_on_playback_devices = false;
 
 #ifdef __IAudioClient2_INTERFACE_DEFINED__
+// AUDCLNT_STREAMOPTIONS and AudioClientProperties->Options were
+// added in Windows 8.1: This ugliness is here to make sure that
+// we can build against older SDK versions.
 #define SDL_AUDCLNT_STREAMOPTIONS_RAW 0x1
 typedef union SDL_AudioClientProperties {
     AudioClientProperties a;