aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-09-22 11:09:34 -0700
committerChris Robinson <[email protected]>2010-09-22 11:09:34 -0700
commit03f56419d0d751ac3ac63bc7e3ee59bf544cb077 (patch)
tree9a97b5499bbcf4e149b3c65ecec205bd3a5c420a /Alc/ALc.c
parent3ee9d24c3f7fb94fb98d87c0c360e3365e87c67e (diff)
Duplicate stereo sources by default
The mixer is smart enough now to handle proper volume adjustments depending on the number of output speakers
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 2 insertions, 0 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