summaryrefslogtreecommitdiff
path: root/src/powerlist.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-09-02 10:30:02 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-09-02 10:30:02 +0200
commite37c5f5048bb440140dc56ce773d105fc2129385 (patch)
tree0dfe0ab9faec524fd1ee085c6cf763aa15484331 /src/powerlist.h
parent6a96bcf1659d07cd3a7f7e65519007abfaeda2a0 (diff)
Implement master bleed control in the instrument parser and engine.
Diffstat (limited to 'src/powerlist.h')
-rw-r--r--src/powerlist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/powerlist.h b/src/powerlist.h
index ff360b4..9066ce1 100644
--- a/src/powerlist.h
+++ b/src/powerlist.h
@@ -38,7 +38,7 @@ public:
void add(Sample* s);
void finalise(); ///< Call this when no more samples will be added.
-
+
Sample* get(level_t velocity);
private:
@@ -53,7 +53,7 @@ private:
std::vector<PowerListItem> samples;
float power_max;
float power_min;
-
- Channel* getMasterChannel();
+
+ const Channel* getMasterChannel();
Sample* lastsample;
};