Mercurial > SDL_sound_CoreAudio
diff SDL_sound.c @ 262:6fe6de401b63
mpglib support.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 21 Feb 2002 19:46:55 +0000 |
parents | ceadd952319a |
children | c97be6e1bd27 |
line wrap: on
line diff
--- a/SDL_sound.c Thu Feb 21 19:46:09 2002 +0000 +++ b/SDL_sound.c Thu Feb 21 19:46:55 2002 +0000 @@ -47,8 +47,12 @@ /* The various decoder drivers... */ -#if (defined SOUND_SUPPORTS_MP3) -extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MP3; +#if (defined SOUND_SUPPORTS_SMPEG) +extern const Sound_DecoderFunctions __Sound_DecoderFunctions_SMPEG; +#endif + +#if (defined SOUND_SUPPORTS_MPGLIB) +extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MPGLIB; #endif #if (defined SOUND_SUPPORTS_MIKMOD) @@ -105,8 +109,12 @@ static decoder_element decoders[] = { -#if (defined SOUND_SUPPORTS_MP3) - { 0, &__Sound_DecoderFunctions_MP3 }, +#if (defined SOUND_SUPPORTS_SMPEG) + { 0, &__Sound_DecoderFunctions_SMPEG }, +#endif + +#if (defined SOUND_SUPPORTS_MPGLIB) + { 0, &__Sound_DecoderFunctions_MPGLIB }, #endif #if (defined SOUND_SUPPORTS_MODPLUG)