MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / peakAbsStereo

Function peakAbsStereo

tests/client_deess_test.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45float peakAbsStereo(const float* data, int frames)
46{
47 float peak = 0.0f;
48 const int samples = frames * 2;
49 for (int i = 0; i < samples; ++i) {
50 peak = std::max(peak, std::fabs(data[i]));
51 }
52 return peak;
53}
54
55void processBlocks(ClientDeEss& d, float* buf, int frames)
56{

Callers 5

testLowFreqPassthroughFunction · 0.70
testSibilantAttenuatedFunction · 0.70
testAmountClampFunction · 0.70
testFrequencySteeringFunction · 0.70
testTransientSanityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected