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

Method AirAbsorptionModel

core/src/core/air_absorption.cpp:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#endif
43
44AirAbsorptionModel::AirAbsorptionModel()
45 : callback(nullptr)
46 , userData(nullptr)
47{
48 for (auto i = 0; i < Bands::kNumBands; ++i)
49 {
50 coefficients[i] = kDefaultCoefficients[i];
51 }
52}
53
54AirAbsorptionModel::AirAbsorptionModel(const float* coefficients,
55 AirAbsorptionCallback callback,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected