summaryrefslogtreecommitdiff
path: root/gtk2_ardour/fft_result.h
diff options
context:
space:
mode:
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;