comparison 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
comparison
equal deleted inserted replaced
109:2aec53e68049 110:5e5adbe0f215
77 77
78 #if (defined SOUND_SUPPORTS_SHN) 78 #if (defined SOUND_SUPPORTS_SHN)
79 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_SHN; 79 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_SHN;
80 #endif 80 #endif
81 81
82 #if (defined SOUND_SUPPORTS_MIDI)
83 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI;
84 #endif
85
82 86
83 87
84 typedef struct 88 typedef struct
85 { 89 {
86 int available; 90 int available;
117 { 0, &__Sound_DecoderFunctions_RAW }, 121 { 0, &__Sound_DecoderFunctions_RAW },
118 #endif 122 #endif
119 123
120 #if (defined SOUND_SUPPORTS_SHN) 124 #if (defined SOUND_SUPPORTS_SHN)
121 { 0, &__Sound_DecoderFunctions_SHN }, 125 { 0, &__Sound_DecoderFunctions_SHN },
126 #endif
127
128 #if (defined SOUND_SUPPORTS_MIDI)
129 { 0, &__Sound_DecoderFunctions_MIDI },
122 #endif 130 #endif
123 }; 131 };
124 132
125 133
126 134