@@ -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,20 +118,11 @@ 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
+ MIX_DEFAULT_FORMAT = AUDIO_S16SYS;
122
123
MIX_DEFAULT_CHANNELS = 2 ;
123
124
MIX_MAX_VOLUME = SDL2.SDL_MIX_MAXVOLUME; { * Volume of a chunk *}
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}
133
- { $ENDIF}
134
-
135
126
{ * The internal format for an audio chunk *}
136
127
type
137
128
PPMix_Chunk = ^PMix_Chunk;
0 commit comments