Procházet zdrojové kódy

Support audio rate conversion up to 384KHz

Sam Lantinga před 2 roky
rodič
revize
6a381567b0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)) {