SDL_mixer.h
changeset 506 586ae09f8176
parent 495 b4d178cd982d
child 508 de8e7a4f5936
     1.1 --- a/SDL_mixer.h	Tue Mar 15 23:11:29 2011 -0700
     1.2 +++ b/SDL_mixer.h	Sun Mar 20 14:34:18 2011 +0000
     1.3 @@ -67,10 +67,11 @@
     1.4  
     1.5  typedef enum
     1.6  {
     1.7 -    MIX_INIT_FLAC = 0x00000001,
     1.8 -    MIX_INIT_MOD  = 0x00000002,
     1.9 -    MIX_INIT_MP3  = 0x00000004,
    1.10 -    MIX_INIT_OGG  = 0x00000008
    1.11 +    MIX_INIT_FLAC        = 0x00000001,
    1.12 +    MIX_INIT_MOD         = 0x00000002,
    1.13 +    MIX_INIT_MP3         = 0x00000004,
    1.14 +    MIX_INIT_OGG         = 0x00000008,
    1.15 +    MIX_INIT_FLUIDSYNTH  = 0x00000016
    1.16  } MIX_InitFlags;
    1.17  
    1.18  /* Loads dynamic libraries and prepares them for use.  Flags should be
    1.19 @@ -605,6 +606,11 @@
    1.20  extern DECLSPEC int SDLCALL Mix_SetSynchroValue(int value);
    1.21  extern DECLSPEC int SDLCALL Mix_GetSynchroValue(void);
    1.22  
    1.23 +/* Set/Get/Iterate SoundFonts paths to use by supported MIDI backends */
    1.24 +extern DECLSPEC int SDLCALL Mix_SetSoundFonts(const char *paths);
    1.25 +extern DECLSPEC const char* SDLCALL Mix_GetSoundFonts();
    1.26 +extern DECLSPEC int SDLCALL Mix_EachSoundFont(int (*function)(const char*, void*), void *data);
    1.27 +
    1.28  /* Get the Mix_Chunk currently associated with a mixer channel
    1.29      Returns NULL if it's an invalid channel, or there's no chunk associated.
    1.30  */