diff options
author | Chris Robinson <[email protected]> | 2010-09-22 11:09:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-09-22 11:09:34 -0700 |
commit | 03f56419d0d751ac3ac63bc7e3ee59bf544cb077 (patch) | |
tree | 9a97b5499bbcf4e149b3c65ecec205bd3a5c420a /Alc | |
parent | 3ee9d24c3f7fb94fb98d87c0c360e3365e87c67e (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')
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | Alc/panning.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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; |