Support audio rate conversion up to 384KHz

This commit is contained in:
Sam Lantinga 2023-09-18 22:21:54 -07:00
parent b2b548a1fc
commit 6a381567b0
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {