| 89 | } |
| 90 | |
| 91 | static constexpr int lineDurationToRateSliderValue(int lineDuration) |
| 92 | { |
| 93 | return std::clamp(lineDuration, |
| 94 | WF_LINE_DURATION_MIN_MS, |
| 95 | WF_LINE_DURATION_MAX_MS); |
| 96 | } |
| 97 | |
| 98 | static constexpr int rateSliderValueToLineDuration(int sliderValue) |
| 99 | { |
no outgoing calls
no test coverage detected