SDL: audio: SDL_memcpy() params were backwards. :O

From 9bf093487702724b4f9bedb938110f0f895e3043 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 11 May 2023 15:13:11 -0400
Subject: [PATCH] audio: SDL_memcpy() params were backwards.  :O

---
 src/audio/SDL_audiocvt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/audio/SDL_audiocvt.c b/src/audio/SDL_audiocvt.c
index d7462ca23a78..cdabc27e6e2d 100644
--- a/src/audio/SDL_audiocvt.c
+++ b/src/audio/SDL_audiocvt.c
@@ -967,7 +967,7 @@ static int GetAudioStreamDataInternal(SDL_AudioStream *stream, void *buf, int le
             ConvertAudio(input_frames, workbuf, src_format, src_channels, buf, dst_format, dst_channels);
         } else {
             ConvertAudio(input_frames, workbuf, src_format, src_channels, workbuf, dst_format, dst_channels);
-            SDL_memcpy(workbuf, buf, input_frames * dst_sample_frame_size);
+            SDL_memcpy(buf, workbuf, input_frames * dst_sample_frame_size);
         }
         return input_frames * dst_sample_frame_size;
     }
@@ -993,7 +993,7 @@ static int GetAudioStreamDataInternal(SDL_AudioStream *stream, void *buf, int le
         ConvertAudio(output_frames, resample_outbuf, SDL_AUDIO_F32, pre_resample_channels, buf, dst_format, dst_channels);
     } else {
         ConvertAudio(output_frames, resample_outbuf, SDL_AUDIO_F32, pre_resample_channels, workbuf, dst_format, dst_channels);
-        SDL_memcpy(workbuf, buf, output_frames * dst_sample_frame_size);
+        SDL_memcpy(buf, workbuf, output_frames * dst_sample_frame_size);
     }
 
     return (int) (output_frames * dst_sample_frame_size);