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

Method DirectEffect

core/src/core/direct_effect.cpp:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace ipl {
25
26DirectEffect::DirectEffect(const AudioSettings& audioSettings,
27 const DirectEffectSettings& effectSettings)
28 : mNumChannels(effectSettings.numChannels)
29 , mEQEffects(effectSettings.numChannels)
30 , mGainEffects(effectSettings.numChannels)
31{
32 for (auto i = 0; i < effectSettings.numChannels; ++i)
33 {
34 mEQEffects[i] = make_unique<EQEffect>(audioSettings);
35 mGainEffects[i] = make_unique<GainEffect>(audioSettings);
36 }
37}
38
39void DirectEffect::reset()
40{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected