diff --git a/src/al-util.h b/src/al-util.h index 7b1a85d..036f18e 100644 --- a/src/al-util.h +++ b/src/al-util.h @@ -23,8 +23,6 @@ #define ALUTIL_H #include -#include -#include namespace AL { diff --git a/src/audio.cpp b/src/audio.cpp index ead1e6a..0a757d5 100644 --- a/src/audio.cpp +++ b/src/audio.cpp @@ -65,9 +65,6 @@ static uint8_t formatSampleSize(int sdlFormat) case AUDIO_S16MSB : return 2; - case AUDIO_F32 : - return 4; - default: Debug() << "Unhandled sample format"; abort(); @@ -94,13 +91,6 @@ static ALenum chooseALFormat(int sampleSize, int channelCount) case 2 : return AL_FORMAT_STEREO16; default : abort(); } - case 4 : - switch (channelCount) - { - case 1 : return AL_FORMAT_MONO_FLOAT32; - case 2 : return AL_FORMAT_STEREO_FLOAT32; - default : abort(); - } default : abort(); }