From 61ba455edd5605ff9919cf5e93e075732312b92f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 2 Jul 2019 01:56:59 -0700 Subject: Don't warn about non-multiple-of-4 update sizes It's not always possible to do anything about it, especially for backends that aren't restricted to the period size, and it's not really a problem anyway (still getting SIMD benefits for the vast majority of samples). --- Alc/alc.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Alc/alc.cpp b/Alc/alc.cpp index df272c2a..f624d971 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -1999,18 +1999,10 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) } if(device->Frequency != oldFreq && device->Flags.get()) { - ERR("Failed to set %uhz, got %uhz instead\n", oldFreq, device->Frequency); + WARN("Failed to set %uhz, got %uhz instead\n", oldFreq, device->Frequency); device->Flags.unset(); } - if((device->UpdateSize&3) != 0) - { - if((CPUCapFlags&CPU_CAP_SSE)) - WARN("SSE performs best with multiple of 4 update sizes (%u)\n", device->UpdateSize); - if((CPUCapFlags&CPU_CAP_NEON)) - WARN("NEON performs best with multiple of 4 update sizes (%u)\n", device->UpdateSize); - } - TRACE("Post-reset: %s, %s, %uhz, %u / %u buffer\n", DevFmtChannelsString(device->FmtChans), DevFmtTypeString(device->FmtType), device->Frequency, device->UpdateSize, device->BufferSize); -- cgit v1.2.3