Mercurial > SDL_sound_CoreAudio
diff SDL_sound.c @ 110:5e5adbe0f215
Added Midi decoder.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 03 Oct 2001 20:17:48 +0000 |
parents | 427541211bfd |
children | fd942c1433f8 |
line wrap: on
line diff
--- a/SDL_sound.c Wed Oct 03 20:17:34 2001 +0000 +++ b/SDL_sound.c Wed Oct 03 20:17:48 2001 +0000 @@ -79,6 +79,10 @@ extern const Sound_DecoderFunctions __Sound_DecoderFunctions_SHN; #endif +#if (defined SOUND_SUPPORTS_MIDI) +extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI; +#endif + typedef struct @@ -120,6 +124,10 @@ #if (defined SOUND_SUPPORTS_SHN) { 0, &__Sound_DecoderFunctions_SHN }, #endif + +#if (defined SOUND_SUPPORTS_MIDI) + { 0, &__Sound_DecoderFunctions_MIDI }, +#endif };