Subversion Repositories Games.Prince of Persia

Rev

Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 8
Line 1... Line 1...
1
/*
1
/*
2
  SDL_mixer:  An audio mixer library based on the SDL library
2
  SDL_mixer:  An audio mixer library based on the SDL library
3
  Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
3
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
4
 
4
 
5
  This software is provided 'as-is', without any express or implied
5
  This software is provided 'as-is', without any express or implied
6
  warranty.  In no event will the authors be held liable for any damages
6
  warranty.  In no event will the authors be held liable for any damages
7
  arising from the use of this software.
7
  arising from the use of this software.
8
 
8
 
Line 36... Line 36...
36
 
36
 
37
/* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL
37
/* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL
38
*/
38
*/
39
#define SDL_MIXER_MAJOR_VERSION 2
39
#define SDL_MIXER_MAJOR_VERSION 2
40
#define SDL_MIXER_MINOR_VERSION 0
40
#define SDL_MIXER_MINOR_VERSION 0
41
#define SDL_MIXER_PATCHLEVEL    2
41
#define SDL_MIXER_PATCHLEVEL    4
42
 
42
 
43
/* This macro can be used to fill a version structure with the compile-time
43
/* This macro can be used to fill a version structure with the compile-time
44
 * version of the SDL_mixer library.
44
 * version of the SDL_mixer library.
45
 */
45
 */
46
#define SDL_MIXER_VERSION(X)                        \
46
#define SDL_MIXER_VERSION(X)                        \
Line 78... Line 78...
78
{
78
{
79
    MIX_INIT_FLAC   = 0x00000001,
79
    MIX_INIT_FLAC   = 0x00000001,
80
    MIX_INIT_MOD    = 0x00000002,
80
    MIX_INIT_MOD    = 0x00000002,
81
    MIX_INIT_MP3    = 0x00000008,
81
    MIX_INIT_MP3    = 0x00000008,
82
    MIX_INIT_OGG    = 0x00000010,
82
    MIX_INIT_OGG    = 0x00000010,
83
    MIX_INIT_MID    = 0x00000020
83
    MIX_INIT_MID    = 0x00000020,
-
 
84
    MIX_INIT_OPUS   = 0x00000040
84
} MIX_InitFlags;
85
} MIX_InitFlags;
85
 
86
 
86
/* Loads dynamic libraries and prepares them for use.  Flags should be
87
/* Loads dynamic libraries and prepares them for use.  Flags should be
87
   one or more flags from MIX_InitFlags OR'd together.
88
   one or more flags from MIX_InitFlags OR'd together.
88
   It returns the flags successfully initialized, or 0 on failure.
89
   It returns the flags successfully initialized, or 0 on failure.
Line 132... Line 133...
132
    MUS_MID,
133
    MUS_MID,
133
    MUS_OGG,
134
    MUS_OGG,
134
    MUS_MP3,
135
    MUS_MP3,
135
    MUS_MP3_MAD_UNUSED,
136
    MUS_MP3_MAD_UNUSED,
136
    MUS_FLAC,
137
    MUS_FLAC,
137
    MUS_MODPLUG_UNUSED
138
    MUS_MODPLUG_UNUSED,
-
 
139
    MUS_OPUS
138
} Mix_MusicType;
140
} Mix_MusicType;
139
 
141
 
140
/* The internal format for a music chunk interpreted via mikmod */
142
/* The internal format for a music chunk interpreted via mikmod */
141
typedef struct _Mix_Music Mix_Music;
143
typedef struct _Mix_Music Mix_Music;
142
 
144