@@ -60,8 +60,8 @@ interface
60
60
{ * Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL *}
61
61
const
62
62
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 ;
65
65
66
66
{ * This macro can be used to fill a version structure with the compile-time
67
67
* version of the SDL_mixer library.
@@ -118,18 +118,13 @@ procedure Mix_Quit() cdecl; external MIX_LibName {$IFDEF DELPHI} {$IFDEF MACOS}
118
118
119
119
{ * Good default values for a PC soundcard *}
120
120
const
121
- MIX_DEFAULT_FREQUENCY = 22050 ;
121
+ MIX_DEFAULT_FREQUENCY = 44100 ;
122
122
MIX_DEFAULT_CHANNELS = 2 ;
123
123
MIX_MAX_VOLUME = SDL2.SDL_MIX_MAXVOLUME; { * Volume of a chunk *}
124
124
125
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}
126
+ // This is hidden behind IFDEF because AUDIO_S16SYS is also hidden.
127
+ MIX_DEFAULT_FORMAT = SDL2.AUDIO_S16SYS;
133
128
{ $ENDIF}
134
129
135
130
{ * The internal format for an audio chunk *}
0 commit comments