Mercurial > SDL_sound_CoreAudio
changeset 216:07d0939d40e7
Support for .AU files added.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 13 Jan 2002 19:51:14 +0000 |
parents | 9bafd3e8276e |
children | 9bab949e2318 |
files | SDL_sound.c acconfig.h configure.in decoders/Makefile.am |
diffstat | 4 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/SDL_sound.c Sun Jan 13 19:50:55 2002 +0000 +++ b/SDL_sound.c Sun Jan 13 19:51:14 2002 +0000 @@ -67,6 +67,10 @@ extern const Sound_DecoderFunctions __Sound_DecoderFunctions_AIFF; #endif +#if (defined SOUND_SUPPORTS_AU) +extern const Sound_DecoderFunctions __Sound_DecoderFunctions_AU; +#endif + #if (defined SOUND_SUPPORTS_OGG) extern const Sound_DecoderFunctions __Sound_DecoderFunctions_OGG; #endif @@ -121,6 +125,10 @@ { 0, &__Sound_DecoderFunctions_AIFF }, #endif +#if (defined SOUND_SUPPORTS_AU) + { 0, &__Sound_DecoderFunctions_AU }, +#endif + #if (defined SOUND_SUPPORTS_OGG) { 0, &__Sound_DecoderFunctions_OGG }, #endif
--- a/acconfig.h Sun Jan 13 19:50:55 2002 +0000 +++ b/acconfig.h Sun Jan 13 19:51:14 2002 +0000 @@ -3,6 +3,7 @@ #undef DEBUG_CHATTER #undef NDEBUG #undef SOUND_SUPPORTS_AIFF +#undef SOUND_SUPPORTS_AU #undef SOUND_SUPPORTS_MIKMOD #undef SOUND_SUPPORTS_MODPLUG #undef SOUND_SUPPORTS_MP3
--- a/configure.in Sun Jan 13 19:50:55 2002 +0000 +++ b/configure.in Sun Jan 13 19:51:14 2002 +0000 @@ -126,6 +126,13 @@ AC_DEFINE(SOUND_SUPPORTS_AIFF) fi +dnl Check for au decoder inclusion +AC_ARG_ENABLE(au, +[ --enable-au enable AU decoding [default=yes]], + , enable_au=yes) +if test x$enable_au = xyes; then + AC_DEFINE(SOUND_SUPPORTS_AU) +fi dnl Check for shn decoder inclusion... AC_ARG_ENABLE(shn,