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

Method setReturnDb

src/core/ClientGate.cpp:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132{ return m_atomics.floorDb.load(std::memory_order_relaxed); }
133
134void ClientGate::setReturnDb(float db) noexcept
135{
136 m_atomics.returnDb.store(std::clamp(db, 0.0f, 20.0f),
137 std::memory_order_relaxed);
138 m_atomics.version.fetch_add(1, std::memory_order_release);
139}
140float ClientGate::returnDb() const noexcept
141{ return m_atomics.returnDb.load(std::memory_order_relaxed); }
142

Callers 6

applyPresetJsonMethod · 0.80
applyReturnMethod · 0.80
applyReturnMethod · 0.80
testReturnHysteresisFunction · 0.80

Calls

no outgoing calls

Tested by 1

testReturnHysteresisFunction · 0.64