aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-03-25 13:55:23 -0700
committerChris Robinson <[email protected]>2016-03-25 13:55:23 -0700
commit19b130c45d0760f44b453cec6be33ae5cef48851 (patch)
tree93ba7464f2d5f1e21b1023fc9236e3bb8142397d
parentb0acfa17634281bf95f423d903aac5dfc23f3697 (diff)
Use the "decoder" config section instead of "ambisonics"
-rw-r--r--Alc/ALc.c2
-rw-r--r--Alc/panning.c2
2 files changed, 2 insertions, 2 deletions
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))