MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / setLimiterCeilingDb

Method setLimiterCeilingDb

src/core/ClientComp.cpp:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129{ return m_atomics.limEnabled.load(std::memory_order_relaxed); }
130
131void ClientComp::setLimiterCeilingDb(float db) noexcept
132{
133 m_atomics.limCeilingDb.store(std::clamp(db, -24.0f, 0.0f),
134 std::memory_order_relaxed);
135 m_atomics.version.fetch_add(1, std::memory_order_release);
136}
137float ClientComp::limiterCeilingDb() const noexcept
138{ return m_atomics.limCeilingDb.load(std::memory_order_relaxed); }
139

Callers 6

applyPresetJsonMethod · 0.45
testBelowThresholdFunction · 0.45
testLimiterCeilingFunction · 0.45
testTransientSanityFunction · 0.45

Calls

no outgoing calls

Tested by 3

testBelowThresholdFunction · 0.36
testLimiterCeilingFunction · 0.36
testTransientSanityFunction · 0.36