aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-02 01:56:59 -0700
committerChris Robinson <[email protected]>2019-07-02 01:56:59 -0700
commit61ba455edd5605ff9919cf5e93e075732312b92f (patch)
tree4e7e1f96a8cb73a36cc75c399069ab5a773b252f /Alc/alc.cpp
parentcee8100f1917ce21052b9cf255eeefdc839ae550 (diff)
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).
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp10
1 files changed, 1 insertions, 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<FrequencyRequest>())
{
- 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<FrequencyRequest>();
}
- 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);