diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-09-02 10:30:02 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-09-02 10:30:02 +0200 |
commit | e37c5f5048bb440140dc56ce773d105fc2129385 (patch) | |
tree | 0dfe0ab9faec524fd1ee085c6cf763aa15484331 /src/powerlist.h | |
parent | 6a96bcf1659d07cd3a7f7e65519007abfaeda2a0 (diff) |
Implement master bleed control in the instrument parser and engine.
Diffstat (limited to 'src/powerlist.h')
-rw-r--r-- | src/powerlist.h | 6 |
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; }; |