MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / max

Method max

core/src/core/array_math.cpp:395–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395void ArrayMath::max(int size,
396 const float* in,
397 float& out)
398{
399 out = in[0];
400 for (auto i = 1; i < size; ++i)
401 {
402 out = std::max(out, in[i]);
403 }
404}
405
406void ArrayMath::maxIndex(int size,
407 const float* in,

Callers 2

GetProbeDataFunction · 0.45

Calls 1

maxFunction · 0.70

Tested by

no test coverage detected