Skip to content

Commit

Permalink
Adding SOUND_SUPPORTS_OPUS
Browse files Browse the repository at this point in the history
  • Loading branch information
bakeinflash committed Aug 25, 2021
1 parent ba0435c commit 2238fdd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions external/ALmixer/Isolated/SoundDecoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ static const SoundDecoder_DecoderInfo** s_availableDecoders = NULL;
#ifdef SOUND_SUPPORTS_MPG123
extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MPG123;
#endif
#ifdef SOUND_SUPPORTS_OPUS
extern const Sound_DecoderFunctions __Sound_DecoderFunctions_OPUS;
#endif

#endif

/* Note: Make sure to compile only Vorbis xor Tremor, not both. */
Expand Down Expand Up @@ -71,6 +75,9 @@ static SoundElement s_linkedDecoders[] =
#ifdef SOUND_SUPPORTS_MPG123
{ 0, &__Sound_DecoderFunctions_MPG123 },
#endif
#ifdef SOUND_SUPPORTS_OPUS
{ 0, &__Sound_DecoderFunctions_OPUS },
#endif
#endif
/* Note: Make sure to link only Vorbis xor Tremor, not both. */
#ifdef SOUND_SUPPORTS_OGG
Expand Down

0 comments on commit 2238fdd

Please sign in to comment.