summaryrefslogtreecommitdiff
path: root/src/powerlist.h
diff options
context:
space:
mode:
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;
};