diff options
author | Chris Robinson <[email protected]> | 2008-06-04 20:44:51 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-06-04 20:44:51 -0700 |
commit | 376997c3ef3a35b665628105ef8b15285710a9ce (patch) | |
tree | 6a4bb119e0db929902c951127e6b229b0ce23c8a | |
parent | e963782b8c756bb385bbd34a35adc90c62e8cab6 (diff) |
Fix config value check
-rw-r--r-- | Alc/dsound.c | 2 |
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 { |