aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-06-04 20:44:51 -0700
committerChris Robinson <[email protected]>2008-06-04 20:44:51 -0700
commit376997c3ef3a35b665628105ef8b15285710a9ce (patch)
tree6a4bb119e0db929902c951127e6b229b0ce23c8a
parente963782b8c756bb385bbd34a35adc90c62e8cab6 (diff)
Fix config value 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 1bde7cb1..06b8202b 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -173,7 +173,7 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam
if(SUCCEEDED(hr))
{
- if(*(GetConfigValue(NULL, "format", "")) != 0)
+ if(*(GetConfigValue(NULL, "format", "")) == 0)
hr = IDirectSound_GetSpeakerConfig(pData->lpDS, &speakers);
else
{