* @brief Replays a saved ring's samples into @p target via appendDecimated. Used when * the new ring has a different capacity / interval than the saved one. */
| 2425 | * the new ring has a different capacity / interval than the saved one. |
| 2426 | */ |
| 2427 | static void replayTimeRing(const DSP::TimeRing& saved, DSP::TimeRing& target) |
| 2428 | { |
| 2429 | const std::size_t n = saved.time.size(); |
| 2430 | for (std::size_t k = 0; k < n; ++k) |
| 2431 | target.appendDecimated(saved.time[k], saved.value[k]); |
| 2432 | } |
| 2433 | |
| 2434 | /** |
| 2435 | * @brief Restores saved plot rings into the currently configured widget slots. Splices when |
no test coverage detected