diff options
Diffstat (limited to 'Alc/backends/winmm.c')
-rw-r--r-- | Alc/backends/winmm.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c index 8dbe6ef2..265dfc83 100644 --- a/Alc/backends/winmm.c +++ b/Alc/backends/winmm.c @@ -430,13 +430,7 @@ static ALCboolean WinMMResetPlayback(ALCdevice *device) device->UpdateSize = (ALuint)((ALuint64)device->UpdateSize * pData->Frequency / device->Frequency); - if(device->Frequency != pData->Frequency) - { - if((device->Flags&DEVICE_FREQUENCY_REQUEST)) - ERR("WinMM does not support changing sample rates (wanted %dhz, got %dhz)\n", device->Frequency, pData->Frequency); - device->Flags &= ~DEVICE_FREQUENCY_REQUEST; - device->Frequency = pData->Frequency; - } + device->Frequency = pData->Frequency; SetDefaultWFXChannelOrder(device); |