SDL: Added logging for low latency audio state

From 6836ef8fd270465b33207bb9685e7fe58026195e Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 7 Nov 2024 16:31:35 -0800
Subject: [PATCH] Added logging for low latency audio state

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

diff --git a/src/audio/aaudio/SDL_aaudio.c b/src/audio/aaudio/SDL_aaudio.c
index c53157ee070ac..75e25a428f997 100644
--- a/src/audio/aaudio/SDL_aaudio.c
+++ b/src/audio/aaudio/SDL_aaudio.c
@@ -317,7 +317,10 @@ static bool BuildAAudioStream(SDL_AudioDevice *device)
     ctx.AAudioStreamBuilder_setDataCallback(builder, AAUDIO_dataCallback, device);
     // Some devices have flat sounding audio when low latency mode is enabled, but this is a better experience for most people
     if (SDL_GetHintBoolean("SDL_ANDROID_LOW_LATENCY_AUDIO", true)) {
+        SDL_Log("Low latency audio enabled\n");
         ctx.AAudioStreamBuilder_setPerformanceMode(builder, AAUDIO_PERFORMANCE_MODE_LOW_LATENCY);
+    } else {
+        SDL_Log("Low latency audio disabled\n");
     }
 
     LOGI("AAudio Try to open %u hz %u bit %u channels %s samples %u",