diff options
Diffstat (limited to 'Alc/dsound.c')
-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 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); |