diff options
author | Chris Robinson <[email protected]> | 2016-03-25 13:55:23 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-25 13:55:23 -0700 |
commit | 19b130c45d0760f44b453cec6be33ae5cef48851 (patch) | |
tree | 93ba7464f2d5f1e21b1023fc9236e3bb8142397d | |
parent | b0acfa17634281bf95f423d903aac5dfc23f3697 (diff) |
Use the "decoder" config section instead of "ambisonics"
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | Alc/panning.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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)) |