aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-06 01:53:13 -0700
committerChris Robinson <[email protected]>2011-05-06 01:53:13 -0700
commit64b5d7a5192af79846a4a24a18a8757d41c9e36a (patch)
tree8636cf1d350540e2ce1fc87a1ebe82df0adc3baf /Alc/dsound.c
parenteef41e76d7293ad709c8aa27ee20e79c5ebd5478 (diff)
Check the correct flag in the dsound backend
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c2
1 files changed, 1 insertions, 1 deletions
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)
{