diff --git a/Alc/ALc.c b/Alc/ALc.c index 7ed7f1d4..58c336a8 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1033,44 +1033,6 @@ static ALCboolean IsValidALCChannels(ALCenum channels) } -ALboolean IsValidType(ALenum type) -{ - switch(type) - { - case AL_BYTE: - case AL_UNSIGNED_BYTE: - case AL_SHORT: - case AL_UNSIGNED_SHORT: - case AL_INT: - case AL_UNSIGNED_INT: - case AL_FLOAT: - case AL_DOUBLE: - case AL_MULAW: - case AL_IMA4: - case AL_BYTE3: - case AL_UNSIGNED_BYTE3: - return AL_TRUE; - } - return AL_FALSE; -} - -ALboolean IsValidChannels(ALenum channels) -{ - switch(channels) - { - case AL_MONO: - case AL_STEREO: - case AL_REAR: - case AL_QUAD: - case AL_5POINT1: - case AL_6POINT1: - case AL_7POINT1: - return AL_TRUE; - } - return AL_FALSE; -} - - #ifndef _WIN32 void InitializeCriticalSection(CRITICAL_SECTION *cs) { diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index ff1b3d4f..8b8db208 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -518,9 +518,6 @@ void SetDefaultWFXChannelOrder(ALCdevice *device); const ALCchar *DevFmtTypeString(enum DevFmtType type); const ALCchar *DevFmtChannelsString(enum DevFmtChannels chans); -ALboolean IsValidType(ALenum type); -ALboolean IsValidChannels(ALenum type); - #define HRIR_BITS (5) #define HRIR_LENGTH (1<