Skip to content
Permalink
Browse files

change default sample rate to 44100

22050 is from a very long time ago, no more widely used.  44100 is
the most popular for ten and more years. I don't think here is any
reason to keep this macro to have 22050 sample rate.
  • Loading branch information
Wohlstand committed Dec 23, 2019
1 parent beb633e commit 6c136add044389583dc75dd194653e774743bc08
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/SDL_mixer.h
@@ -100,7 +100,7 @@ extern DECLSPEC void SDLCALL Mix_Quit(void);
#endif

/* Good default values for a PC soundcard */
#define MIX_DEFAULT_FREQUENCY 22050
#define MIX_DEFAULT_FREQUENCY 44100
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
#define MIX_DEFAULT_FORMAT AUDIO_S16LSB
#else

0 comments on commit 6c136ad

Please sign in to comment.