Skip to content

Commit

Permalink
Added new Core Audio backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wing committed Oct 11, 2010
1 parent d6c3270 commit c189281
Show file tree
Hide file tree
Showing 2 changed files with 741 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SDL_sound.c
Expand Up @@ -62,6 +62,7 @@ extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI;
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
{
Expand Down Expand Up @@ -127,6 +128,10 @@ static decoder_element decoders[] =
{ 0, &__Sound_DecoderFunctions_SPEEX },
#endif

#if (defined SOUND_SUPPORTS_COREAUDIO)
{ 0, &__Sound_DecoderFunctions_CoreAudio },
#endif

{ 0, NULL }
};

Expand Down

0 comments on commit c189281

Please sign in to comment.