diff options
author | Chris Robinson <[email protected]> | 2009-04-11 18:16:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-04-11 18:16:05 -0700 |
commit | 30f57d0824826c38d8991f041ea8870e19b44033 (patch) | |
tree | 56a9ccc9e009a56853aeba1654aca5b92bdc94df /Alc/ALc.c | |
parent | 1c540181116a875f708890bc9c380b71cd1fd6ba (diff) |
Make auxiliary effect slot count configurable
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -479,6 +479,8 @@ static ALvoid InitContext(ALCcontext *pContext) pContext->lNumStereoSources = 1; pContext->lNumMonoSources = pContext->Device->MaxNoOfSources - pContext->lNumStereoSources; + pContext->AuxiliaryEffectSlotMax = GetConfigValueInt(NULL, "slots", 4); + pContext->ExtensionList = "AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_source_distance_model AL_LOKI_quadriphonic"; level = GetConfigValueInt(NULL, "cf_level", 0); |