From e37c5f5048bb440140dc56ce773d105fc2129385 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 2 Sep 2017 10:30:02 +0200 Subject: Implement master bleed control in the instrument parser and engine. --- src/powerlist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/powerlist.h') 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 samples; float power_max; float power_min; - - Channel* getMasterChannel(); + + const Channel* getMasterChannel(); Sample* lastsample; }; -- cgit v1.2.3