comparison SDL_sound.c @ 450:6d328f00c20d

Added Speex decoder.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 13 Sep 2003 20:28:39 +0000
parents d0393837bfac
children 3e705c9180e5 50bb9a6cebfe
comparison
equal deleted inserted replaced
449:daeb71a3f1ed 450:6d328f00c20d
101 101
102 #if (defined SOUND_SUPPORTS_QUICKTIME) 102 #if (defined SOUND_SUPPORTS_QUICKTIME)
103 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_QuickTime; 103 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_QuickTime;
104 #endif 104 #endif
105 105
106 #if (defined SOUND_SUPPORTS_SPEEX)
107 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_SPEEX;
108 #endif
109
106 typedef struct 110 typedef struct
107 { 111 {
108 int available; 112 int available;
109 const Sound_DecoderFunctions *funcs; 113 const Sound_DecoderFunctions *funcs;
110 } decoder_element; 114 } decoder_element;
163 { 0, &__Sound_DecoderFunctions_MIDI }, 167 { 0, &__Sound_DecoderFunctions_MIDI },
164 #endif 168 #endif
165 169
166 #if (defined SOUND_SUPPORTS_QUICKTIME) 170 #if (defined SOUND_SUPPORTS_QUICKTIME)
167 { 0, &__Sound_DecoderFunctions_QuickTime }, 171 { 0, &__Sound_DecoderFunctions_QuickTime },
172 #endif
173
174 #if (defined SOUND_SUPPORTS_SPEEX)
175 { 0, &__Sound_DecoderFunctions_SPEEX },
168 #endif 176 #endif
169 177
170 { 0, NULL } 178 { 0, NULL }
171 }; 179 };
172 180