diff options
author | Chris Robinson <[email protected]> | 2011-07-02 02:54:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-02 02:54:05 -0700 |
commit | 7b87519c15fbb5b07e20ccdce6da13777548eee1 (patch) | |
tree | 21e4a1b5ee9825e2a2ca86bb4e727f6f06b56095 /Alc/ALc.c | |
parent | 14bfe0293a94c240be5b8c23998af6a6b8bbea20 (diff) |
Move functions to where they're used
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 38 |
1 files changed, 0 insertions, 38 deletions
@@ -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) { |