Browse Source

Support audio rate conversion up to 384KHz

Sam Lantinga 1 year ago
parent
commit
6a381567b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/audio/SDL_audiocvt.c

+ 1 - 1
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)) {