MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / UpdateCurrentConfig

Method UpdateCurrentConfig

sources/base/Smoothing.cpp:430–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430void Smoothing::UpdateCurrentConfig(int settlingTime_ms)
431{
432 _settlingTime = settlingTime_ms;
433
434 Info(_log, "Updating current config (%d) => type: %s, pause: %s, settlingTime: %ims, interval: %ims (%iHz), antiFlickTres: %i, antiFlickStep: %i, antiFlickTime: %i",
435 _currentConfigId, QSTRING_CSTR(SmoothingConfig::EnumToString(_smoothingType)), (_pause) ? "true" : "false", int(_settlingTime),
436 int(_updateInterval), int(1000.0 / _updateInterval), _antiFlickeringTreshold, _antiFlickeringStep, int(_antiFlickeringTimeout));
437}
438
439int Smoothing::GetSuggestedInterval()
440{

Callers 1

setSmoothingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected