From 1965889ac953b354763f194cd7ec44932942477d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Mon, 4 Mar 2019 18:26:26 +0100 Subject: First version of new sample algorithm. --- src/powerlist.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/powerlist.h') diff --git a/src/powerlist.h b/src/powerlist.h index 6741828..b3b47e4 100644 --- a/src/powerlist.h +++ b/src/powerlist.h @@ -41,7 +41,7 @@ public: void add(Sample* s); void finalise(); ///< Call this when no more samples will be added. - Sample* get(level_t velocity); + Sample* get(level_t velocity, std::size_t pos); float getMaxPower() const; float getMinPower() const; @@ -62,4 +62,6 @@ private: const Channel* getMasterChannel(); Sample* lastsample; + + std::vector last; }; -- cgit v1.2.3