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

Method add

core/src/core/api_impulse_response.cpp:127–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void CImpulseResponse::add(IImpulseResponse* in1, IImpulseResponse* in2)
128{
129 auto _in1 = static_cast<CImpulseResponse*>(in1)->mHandle.get();
130 auto _in2 = static_cast<CImpulseResponse*>(in2)->mHandle.get();
131 auto _out = mHandle.get();
132
133 if (!_in1 || !_in2 || !_out)
134 return;
135
136 ImpulseResponse::add((*_in1), (*_in2), (*_out));
137}
138
139void CImpulseResponse::scale(IImpulseResponse* in, float scalar)
140{

Callers

nothing calls this directly

Calls 2

addFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected