Fix a bunch of warnings.

Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-26 00:58:35 +00:00
parent 3bc71af0ca
commit 03536cd399
28 changed files with 165 additions and 173 deletions

View 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);