X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ffft_result.h;h=ddf2bb18424fdd04568b4b817960dbb013685fde;hb=d8405e2ebe4b7250fb8eaaad7166f0e81479e0d7;hp=2042b2d0429ae25bb946a20b7228f9b6c84bfc73;hpb=03536cd399131e3fec54c95ae5ac6f11dca05aef;p=ardour.git diff --git a/gtk2_ardour/fft_result.h b/gtk2_ardour/fft_result.h index 2042b2d042..ddf2bb1842 100644 --- a/gtk2_ardour/fft_result.h +++ b/gtk2_ardour/fft_result.h @@ -21,7 +21,6 @@ #ifndef __ardour_fft_result_h #define __ardour_fft_result_h -#include "ardour/types.h" #include #include @@ -33,7 +32,7 @@ class FFTGraph; class FFTResult { public: - + ~FFTResult(); void analyzeWindow(float *window); @@ -44,15 +43,15 @@ class FFTResult float avgAt(int x); float maxAt(int x); float minAt(int x); - + float minimum() const { return _minimum; } float maximum() const { return _maximum; } - + Gdk::Color get_color() const { return _color; } - + private: FFTResult(FFTGraph *graph, Gdk::Color color, std::string trackname); - + int _averages; float* _data_avg; @@ -68,10 +67,10 @@ class FFTResult float _maximum; FFTGraph *_graph; - + Gdk::Color _color; std::string _trackname; - + friend class FFTGraph; };