Check the correct flag in the dsound backend

This commit is contained in:
Chris Robinson 2011-05-06 01:53:13 -07:00
parent eef41e76d7
commit 64b5d7a519

View File

@ -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)
{