Skip to content

Commit

Permalink
change default sample rate to 44100
Browse files Browse the repository at this point in the history
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 6c136ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_mixer.h
Expand Up @@ -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
Expand Down

0 comments on commit 6c136ad

Please sign in to comment.