aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
-rw-r--r--Alc/panning.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f8c13a8a..31bb8019 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2077,6 +2077,8 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
device->Bs2bLevel = GetConfigValueInt(NULL, "cf_level", 0);
+ device->DuplicateStereo = GetConfigValueBool(NULL, "stereodup", 1);
+
device->HeadDampen = 0.0f;
// Find a playback device to open
diff --git a/Alc/panning.c b/Alc/panning.c
index 87e6b161..5c0f68fd 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -296,7 +296,6 @@ ALvoid aluInitPanning(ALCdevice *Device)
assert(0);
}
- Device->DuplicateStereo = GetConfigValueBool(NULL, "stereodup", 0);
if(GetConfigValueBool(NULL, "scalemix", 0))
{
ALfloat maxout = 1.0f;