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

Function processBlocks

tests/client_eq_test.cpp:70–80  ·  view source on GitHub ↗

Process a buffer block-by-block, so we exercise the same block-scheduling that the AudioEngine will use.

Source from the content-addressed store, hash-verified

68// Process a buffer block-by-block, so we exercise the same block-scheduling
69// that the AudioEngine will use.
70void processBlocks(ClientEq& eq, float* buf, int frames)
71{
72 int remaining = frames;
73 float* p = buf;
74 while (remaining > 0) {
75 const int n = std::min(kBlockSize, remaining);
76 eq.process(p, n, 2);
77 p += n * 2;
78 remaining -= n;
79 }
80}
81
82bool anyNaNorInf(const float* data, int frames)
83{

Callers 8

testBypassFunction · 0.70
testDisabledFlagFunction · 0.70
testPeakGainFunction · 0.70
testPeakCutFunction · 0.70
testLowPassAttenuationFunction · 0.70
testHighPassAttenuationFunction · 0.70
testBandCascadeFunction · 0.70
testPerBandEnableFunction · 0.70

Calls 1

processMethod · 0.45

Tested by

no test coverage detected