summaryrefslogtreecommitdiff
path: root/src/powerlist.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-03-04 18:26:26 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2019-05-11 14:53:23 +0200
commit1965889ac953b354763f194cd7ec44932942477d (patch)
tree0e726c04946a890e38f0773229314da58862e713 /src/powerlist.h
parent32b12957b2fa875a7a0044c7c9c620809de9ae47 (diff)
First version of new sample algorithm.
Diffstat (limited to 'src/powerlist.h')
-rw-r--r--src/powerlist.h4
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;
};