diff options
author | André Nusser <andre.nusser@googlemail.com> | 2019-03-04 18:26:26 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2019-05-11 14:53:23 +0200 |
commit | 1965889ac953b354763f194cd7ec44932942477d (patch) | |
tree | 0e726c04946a890e38f0773229314da58862e713 /src/powerlist.h | |
parent | 32b12957b2fa875a7a0044c7c9c620809de9ae47 (diff) |
First version of new sample algorithm.
Diffstat (limited to 'src/powerlist.h')
-rw-r--r-- | src/powerlist.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<std::size_t> last; }; |