Skip to content

Commit

Permalink
Removed Speex decoder.
Browse files Browse the repository at this point in the history
I'll readd this if there's a zlib or public domain Speex decoder available at
some point, but I suspect that Opus is more desired at this point in any case.
  • Loading branch information
icculus committed Jul 20, 2018
1 parent 4968abd commit c2aeae5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 421 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Expand Up @@ -50,7 +50,6 @@ sdlsound_decoder_option(FLAC "Free Lossless Audio Codec" ".FLAC")
sdlsound_decoder_option(VORBIS "Ogg Vorbis" ".OGG")
sdlsound_decoder_option(RAW "raw PCM audio" ".RAW")
sdlsound_decoder_option(SHN "Shorten" ".SHN")
sdlsound_decoder_option(SPEEX "Speex" ".SPEEX")
sdlsound_decoder_option(MODPLUG "ModPlug" "various tracker formats")
sdlsound_decoder_option(MP3 "MPEG-1 Layers I-III" ".MP3, .MP2, .MP1")

Expand Down Expand Up @@ -112,7 +111,6 @@ set(SDLSOUND_SRCS
src/SDL_sound_mp3.c
src/SDL_sound_raw.c
src/SDL_sound_shn.c
src/SDL_sound_speex.c
src/SDL_sound_voc.c
src/SDL_sound_vorbis.c
src/SDL_sound_wav.c
Expand Down Expand Up @@ -231,7 +229,6 @@ message_bool_option("FLAC support" SDLSOUND_DECODER_FLAC)
message_bool_option("VORBIS support" SDLSOUND_DECODER_VORBIS)
message_bool_option("RAW support" SDLSOUND_DECODER_RAW)
message_bool_option("SHN support" SDLSOUND_DECODER_SHN)
message_bool_option("SPEEX support" SDLSOUND_DECODER_SPEEX)
message_bool_option("MODPLUG support" SDLSOUND_DECODER_MODPLUG)
message_bool_option("MP3 support" SDLSOUND_DECODER_MP3)
message_bool_option("COREAUDIO support" SDLSOUND_DECODER_COREAUDIO)
Expand Down
4 changes: 0 additions & 4 deletions src/SDL_sound.c
Expand Up @@ -30,7 +30,6 @@ extern const Sound_DecoderFunctions __Sound_DecoderFunctions_RAW;
extern const Sound_DecoderFunctions __Sound_DecoderFunctions_SHN;
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 @@ -71,9 +70,6 @@ static decoder_element decoders[] =
#if SOUND_SUPPORTS_FLAC
{ 0, &__Sound_DecoderFunctions_FLAC },
#endif
#if SOUND_SUPPORTS_SPEEX
{ 0, &__Sound_DecoderFunctions_SPEEX },
#endif
#if SOUND_SUPPORTS_COREAUDIO
{ 0, &__Sound_DecoderFunctions_CoreAudio },
#endif
Expand Down
1 change: 0 additions & 1 deletion src/SDL_sound.h
Expand Up @@ -33,7 +33,6 @@
* - .MID (MIDI music converted to Waveform data, internal.)
* - .MOD (MOD files, via internal copy of libModPlug.)
* - .OGG (Ogg files, via internal copy of stb_vorbis.)
* - .SPX (Speex files, via libspeex.)
* - .SHN (Shorten files, internal.)
* - .RAW (Raw sound data in any format, internal.)
* - .AU (Sun's Audio format, internal.)
Expand Down
3 changes: 0 additions & 3 deletions src/SDL_sound_internal.h
Expand Up @@ -69,9 +69,6 @@
#ifndef SOUND_SUPPORTS_FLAC
#define SOUND_SUPPORTS_FLAC 1
#endif
#ifndef SOUND_SUPPORTS_SPEEX
#define SOUND_SUPPORTS_SPEEX 1
#endif
#ifndef SOUND_SUPPORTS_COREAUDIO
#define SOUND_SUPPORTS_COREAUDIO 1
#endif
Expand Down

0 comments on commit c2aeae5

Please sign in to comment.