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

Method ImpulseResponse

core/src/core/impulse_response.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26// --------------------------------------------------------------------------------------------------------------------
27
28ImpulseResponse::ImpulseResponse(float duration,
29 int order,
30 int samplingRate)
31{
32 mData.resize(SphericalHarmonics::numCoeffsForOrder(order), static_cast<int>(ceilf(duration * samplingRate)));
33 reset();
34}
35
36void ImpulseResponse::reset()
37{

Callers

nothing calls this directly

Calls 2

resetFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected