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

Function ratePercentToLineDuration

src/gui/SpectrumWidget.cpp:454–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454static constexpr int ratePercentToLineDuration(int ratePercent)
455{
456 // See SpectrumOverlayMenu.cpp: the rate control value is intentionally sent
457 // directly as line_duration. The tested behavior is 1 slowest, 100 fastest.
458 return std::clamp(ratePercent,
459 kWaterfallRatePercentMin,
460 kWaterfallRatePercentMax);
461}
462
463static float clampedCatmullRom(float p0, float p1, float p2, float p3, float t)
464{

Callers 2

SpectrumWidget.cppFile · 0.85
mouseMoveEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected