@@ -60,8 +60,8 @@ interface
6060 { * Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL *}
6161const
6262 SDL_MIXER_MAJOR_VERSION = 2 ;
63- SDL_MIXER_MINOR_VERSION = 0 ;
64- SDL_MIXER_PATCHLEVEL = 4 ;
63+ SDL_MIXER_MINOR_VERSION = 8 ;
64+ SDL_MIXER_PATCHLEVEL = 1 ;
6565
6666 { * This macro can be used to fill a version structure with the compile-time
6767 * version of the SDL_mixer library.
@@ -118,20 +118,11 @@ procedure Mix_Quit() cdecl; external MIX_LibName {$IFDEF DELPHI} {$IFDEF MACOS}
118118
119119 { * Good default values for a PC soundcard *}
120120const
121- MIX_DEFAULT_FREQUENCY = 22050 ;
121+ MIX_DEFAULT_FREQUENCY = 44100 ;
122+ MIX_DEFAULT_FORMAT = AUDIO_S16SYS;
122123 MIX_DEFAULT_CHANNELS = 2 ;
123124 MIX_MAX_VOLUME = SDL2.SDL_MIX_MAXVOLUME; { * Volume of a chunk *}
124125
125- { $IFDEF FPC}
126- { $IF DEFINED(ENDIAN_LITTLE)}
127- MIX_DEFAULT_FORMAT = AUDIO_S16LSB;
128- { $ELSEIF DEFINED(ENDIAN_BIG)}
129- MIX_DEFAULT_FORMAT = AUDIO_S16MSB;
130- { $ELSE}
131- { $FATAL Unable to determine endianness.}
132- { $IFEND}
133- { $ENDIF}
134-
135126 { * The internal format for an audio chunk *}
136127type
137128 PPMix_Chunk = ^PMix_Chunk;
0 commit comments