SDL: audio_resampleLoss: SDL_GetAudioStreamData now returns the correct length

From 4f894e748ec9fa8be5c5631685241c7b97f3de53 Mon Sep 17 00:00:00 2001
From: Brick <[EMAIL REDACTED]>
Date: Thu, 24 Aug 2023 10:44:13 +0100
Subject: [PATCH] audio_resampleLoss: SDL_GetAudioStreamData now returns the
 correct length

---
 test/testautomation_audio.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/test/testautomation_audio.c b/test/testautomation_audio.c
index 84b6055123da..fa33f1069e68 100644
--- a/test/testautomation_audio.c
+++ b/test/testautomation_audio.c
@@ -879,9 +879,7 @@ static int audio_resampleLoss(void *arg)
 
     len_out = SDL_GetAudioStreamData(stream, buf_out, len_target);
     SDLTest_AssertPass("Call to SDL_GetAudioStreamData(stream, buf_out, %i)", len_target);
-    /** !!! FIXME: SDL_AudioStream does not return output of the same length as
-     ** !!! FIXME: the input even if SDL_FlushAudioStream is called. */
-    SDLTest_AssertCheck(len_out <= len_target, "Expected output length to be no larger than %i, got %i.",
+    SDLTest_AssertCheck(len_out == len_target, "Expected output length to be no larger than %i, got %i.",
                         len_target, len_out);
     SDL_DestroyAudioStream(stream);
     if (len_out > len_target) {