diff --git a/Alc/ALc.c b/Alc/ALc.c index 8ca33592..7c3afa0c 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -2119,7 +2119,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) } if(!device->Hrtf && !device->Uhj_Encoder && - GetConfigValueBool(al_string_get_cstr(device->DeviceName), "ambisonics", "hq-mode", 1)) + GetConfigValueBool(al_string_get_cstr(device->DeviceName), "decoder", "hq-mode", 1)) { if(!device->AmbiDecoder) device->AmbiDecoder = bformatdec_alloc(); diff --git a/Alc/panning.c b/Alc/panning.c index 2bbdbaed..6f6db3df 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -607,7 +607,7 @@ ALvoid aluInitPanning(ALCdevice *device) layout = GetChannelLayoutName(device->FmtChans); if(!layout) goto ambi_fail; - if(!ConfigValueStr(al_string_get_cstr(device->DeviceName), "ambisonics", layout, &fname)) + if(!ConfigValueStr(al_string_get_cstr(device->DeviceName), "decoder", layout, &fname)) goto ambi_fail; if(!ambdec_load(&conf, fname))