Mercurial > SDL_sound_CoreAudio
diff 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 |
line wrap: on
line diff
--- a/SDL_sound.c Fri Nov 09 21:43:31 2001 +0000 +++ b/SDL_sound.c Fri Nov 09 21:43:49 2001 +0000 @@ -83,6 +83,10 @@ extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI; #endif +#if (defined SOUND_SUPPORTS_FLAC) +extern const Sound_DecoderFunctions __Sound_DecoderFunctions_FLAC; +#endif + typedef struct @@ -129,6 +133,10 @@ { 0, &__Sound_DecoderFunctions_MIDI }, #endif +#if (defined SOUND_SUPPORTS_FLAC) + { 0, &__Sound_DecoderFunctions_FLAC }, +#endif + { 0, NULL } };