From ae7b61b040059f7112ad6fb38340b8c25d3393b7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 17 Jan 2012 16:38:58 -0800 Subject: Avoid printing messages about device parameter changes in the backends --- Alc/backends/winmm.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Alc/backends/winmm.c') 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); -- cgit v1.2.3