diff options
author | Chris Robinson <[email protected]> | 2008-01-14 16:11:15 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-14 16:11:15 -0800 |
commit | df07e8a65ba2436eff2ff94db24e71069ad73a09 (patch) | |
tree | e1b26c75e2620fa4225db0dc859655e0d8785fce /Alc | |
parent | 729f076c3b6dfe6d458a1a55db1593e7b337f295 (diff) |
Add support for AL_LOKI_quadriphonic
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | Alc/ALu.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -382,7 +382,7 @@ static ALvoid InitContext(ALCcontext *pContext) pContext->lNumStereoSources = 1; pContext->lNumMonoSources = pContext->Device->MaxNoOfSources - pContext->lNumStereoSources; - strcpy(pContext->ExtensionList, "AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET"); + strcpy(pContext->ExtensionList, "AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_LOKI_quadriphonic"); level = GetConfigValueInt(NULL, "cf_level", 0); if(level > 0 && level <= 6) @@ -83,6 +83,7 @@ __inline ALuint aluBytesFromFormat(ALenum format) { case AL_FORMAT_MONO8: case AL_FORMAT_STEREO8: + case AL_FORMAT_QUAD8_LOKI: case AL_FORMAT_QUAD8: case AL_FORMAT_51CHN8: case AL_FORMAT_61CHN8: @@ -91,6 +92,7 @@ __inline ALuint aluBytesFromFormat(ALenum format) case AL_FORMAT_MONO16: case AL_FORMAT_STEREO16: + case AL_FORMAT_QUAD16_LOKI: case AL_FORMAT_QUAD16: case AL_FORMAT_51CHN16: case AL_FORMAT_61CHN16: @@ -124,6 +126,8 @@ __inline ALuint aluChannelsFromFormat(ALenum format) case AL_FORMAT_STEREO_FLOAT32: return 2; + case AL_FORMAT_QUAD8_LOKI: + case AL_FORMAT_QUAD16_LOKI: case AL_FORMAT_QUAD8: case AL_FORMAT_QUAD16: case AL_FORMAT_QUAD32: |