aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-08-14 07:27:19 -0700
committerChris Robinson <[email protected]>2009-08-14 07:27:19 -0700
commit4031ee5ef08326e0e33cb561f9e3c9662891b588 (patch)
treee1afab2d07911875eef142b713994673b3820534
parente0792912028d143b89b3835b2a7203693a494d0f (diff)
Fix speaker override check
-rw-r--r--Alc/dsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index b840e04b..d9ca73e6 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -222,7 +222,7 @@ static ALCboolean DSoundStartContext(ALCdevice *device, ALCcontext *context)
memset(&OutputType, 0, sizeof(OutputType));
hr = IDirectSound_GetSpeakerConfig(pData->lpDS, &speakers);
- if(SUCCEEDED(hr) && *(GetConfigValue(NULL, "format", "")) == 0)
+ if(SUCCEEDED(hr) && *(GetConfigValue(NULL, "format", "")) != 0)
{
if(device->Format == AL_FORMAT_MONO8 || device->Format == AL_FORMAT_MONO16)
speakers = DSSPEAKER_COMBINED(DSSPEAKER_MONO, 0);