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

Method OverlapSaveFIR

core/src/core/overlap_save_convolution_effect.cpp:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28// --------------------------------------------------------------------------------------------------------------------
29
30OverlapSaveFIR::OverlapSaveFIR(int numChannels,
31 int irSize,
32 int frameSize)
33{
34 auto numBlocks = OverlapSaveConvolutionEffect::numBlocks(frameSize, irSize);
35 auto numSpectrumSamples = Math::nextpow2(2 * frameSize) / 2 + 1;
36
37 mData.resize(numChannels, numBlocks, numSpectrumSamples);
38
39 reset();
40}
41
42void OverlapSaveFIR::reset()
43{

Callers

nothing calls this directly

Calls 2

resetFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected