From 64b5d7a5192af79846a4a24a18a8757d41c9e36a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 6 May 2011 01:53:13 -0700 Subject: [PATCH] Check the correct flag in the dsound backend --- Alc/dsound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/dsound.c b/Alc/dsound.c index e719d0a1..6a77328a 100644 --- a/Alc/dsound.c +++ b/Alc/dsound.c @@ -354,7 +354,7 @@ static ALCboolean DSoundResetPlayback(ALCdevice *device) } hr = IDirectSound_GetSpeakerConfig(pData->lpDS, &speakers); - if(FAILED(hr) || (device->Flags&DEVICE_FREQUENCY_REQUEST)) + if(FAILED(hr) || (device->Flags&DEVICE_CHANNELS_REQUEST)) { switch(device->FmtChans) {