aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/winmm.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-01-17 16:38:58 -0800
committerChris Robinson <[email protected]>2012-01-17 16:38:58 -0800
commitae7b61b040059f7112ad6fb38340b8c25d3393b7 (patch)
treecaaf30af822a2a3cebe3e77e7a6d1300c099ef57 /Alc/backends/winmm.c
parent5a2a5342403ca99a4613a56f69c95ed5ce91f8b2 (diff)
Avoid printing messages about device parameter changes in the backends
Diffstat (limited to 'Alc/backends/winmm.c')
-rw-r--r--Alc/backends/winmm.c8
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);