send control now has working metering, and switches back and forth between busses...
[ardour.git] / gtk2_ardour / fft_result.h
index fa2a56910865707f89ba6ad89401a6d8003a647a..2042b2d0429ae25bb946a20b7228f9b6c84bfc73 100644 (file)
@@ -39,16 +39,16 @@ class FFTResult
                void analyzeWindow(float *window);
                void finalize();
 
-               const int length() { return _dataSize; }
+               int length() const { return _dataSize; }
 
                float avgAt(int x);
                float maxAt(int x);
                float minAt(int x);
                
-               const float minimum() { return _minimum; }
-               const float maximum() { return _maximum; }
+               float minimum() const { return _minimum; }
+               float maximum() const { return _maximum; }
                
-               const Gdk::Color get_color() { return _color; }
+               Gdk::Color get_color() const { return _color; }
                
        private:
                FFTResult(FFTGraph *graph, Gdk::Color color, std::string trackname);