diff options
author | Chris Robinson <[email protected]> | 2011-05-06 01:53:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-06 01:53:13 -0700 |
commit | 64b5d7a5192af79846a4a24a18a8757d41c9e36a (patch) | |
tree | 8636cf1d350540e2ce1fc87a1ebe82df0adc3baf | |
parent | eef41e76d7293ad709c8aa27ee20e79c5ebd5478 (diff) |
Check the correct flag in the dsound backend
-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 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) { |