comparison SDL_sound.c @ 157:fa3e593b6a5e

FLAC decoder added.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 09 Nov 2001 21:43:49 +0000
parents 1df5c106504e
children b6d6f994e970
comparison
equal deleted inserted replaced
156:ac46d8db8a8c 157:fa3e593b6a5e
81 81
82 #if (defined SOUND_SUPPORTS_MIDI) 82 #if (defined SOUND_SUPPORTS_MIDI)
83 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI; 83 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI;
84 #endif 84 #endif
85 85
86 #if (defined SOUND_SUPPORTS_FLAC)
87 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_FLAC;
88 #endif
89
86 90
87 91
88 typedef struct 92 typedef struct
89 { 93 {
90 int available; 94 int available;
125 { 0, &__Sound_DecoderFunctions_SHN }, 129 { 0, &__Sound_DecoderFunctions_SHN },
126 #endif 130 #endif
127 131
128 #if (defined SOUND_SUPPORTS_MIDI) 132 #if (defined SOUND_SUPPORTS_MIDI)
129 { 0, &__Sound_DecoderFunctions_MIDI }, 133 { 0, &__Sound_DecoderFunctions_MIDI },
134 #endif
135
136 #if (defined SOUND_SUPPORTS_FLAC)
137 { 0, &__Sound_DecoderFunctions_FLAC },
130 #endif 138 #endif
131 139
132 { 0, NULL } 140 { 0, NULL }
133 }; 141 };
134 142