From 6a381567b0412603054e3ecd77916085edffe94a Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 18 Sep 2023 22:21:54 -0700
Subject: [PATCH] Support audio rate conversion up to 384KHz
---
src/audio/SDL_audiocvt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/SDL_audiocvt.c b/src/audio/SDL_audiocvt.c
index 5cad0d0ac081..000391a43bb5 100644
--- a/src/audio/SDL_audiocvt.c
+++ b/src/audio/SDL_audiocvt.c
@@ -506,7 +506,7 @@ int SDL_SetAudioStreamFormat(SDL_AudioStream *stream, const SDL_AudioSpec *src_s
// Picked mostly arbitrarily.
static const int min_freq = 4000;
- static const int max_freq = 192000;
+ static const int max_freq = 384000;
if (src_spec) {
if (!SDL_IsSupportedAudioFormat(src_spec->format)) {