diff SDL_sound.c @ 576:8d62447b75f2

Added new Core Audio backend.
author Eric Wing <ewing . public |-at-| gmail . com>
date Sun, 10 Oct 2010 21:30:17 -0700
parents 7e08477b0fc1
children
line wrap: on
line diff
--- a/SDL_sound.c	Sun Jan 24 14:01:39 2010 -0500
+++ b/SDL_sound.c	Sun Oct 10 21:30:17 2010 -0700
@@ -62,6 +62,7 @@
 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_FLAC;
 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_QuickTime;
 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_SPEEX;
+extern const Sound_DecoderFunctions __Sound_DecoderFunctions_CoreAudio;
 
 typedef struct
 {
@@ -127,6 +128,10 @@
     { 0, &__Sound_DecoderFunctions_SPEEX },
 #endif
 
+#if (defined SOUND_SUPPORTS_COREAUDIO)
+    { 0, &__Sound_DecoderFunctions_CoreAudio },
+#endif
+
     { 0, NULL }
 };