summaryrefslogtreecommitdiff
path: root/gtk2_ardour/fft_result.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-03-17 20:54:03 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-03-17 20:54:03 +0000
commit997e4b1f9cd7ccfc704b7c035051da7f60d831e7 (patch)
tree1236e40183b677abf4a2882e4cfe8e0a345eb24d /gtk2_ardour/fft_result.h
parent19a4b990325577fc949ccd5d5fbad4520eb1df56 (diff)
merge with 2.0-ongoing @ rev 3147
git-svn-id: svn://localhost/ardour2/branches/3.0@3152 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/fft_result.h')
-rw-r--r--gtk2_ardour/fft_result.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/gtk2_ardour/fft_result.h b/gtk2_ardour/fft_result.h
index c8f17dc01c..c6c952db1c 100644
--- a/gtk2_ardour/fft_result.h
+++ b/gtk2_ardour/fft_result.h
@@ -41,7 +41,9 @@ class FFTResult
const int length() { return _dataSize; }
- float sampleAt(int x);
+ float avgAt(int x);
+ float maxAt(int x);
+ float minAt(int x);
const float minimum() { return _minimum; }
const float maximum() { return _maximum; }
@@ -53,10 +55,13 @@ class FFTResult
int _averages;
- float* _data;
+ float* _data_avg;
+ float* _data_max;
+ float* _data_min;
+
float* _work;
- int _windowSize;
+ int _windowSize;
int _dataSize;
float _minimum;