diff options
author | Sampo Savolainen <v2@iki.fi> | 2008-10-15 19:21:26 +0000 |
---|---|---|
committer | Sampo Savolainen <v2@iki.fi> | 2008-10-15 19:21:26 +0000 |
commit | 1bca6b5c74064b9e8a6f70b45fb1c04a95534d30 (patch) | |
tree | 237aff48f3f983d45345a4e6238bc486db7da780 /gtk2_ardour/fft.h | |
parent | 68d8f26dc4308a37c0f3e03ea87f1f3059547e61 (diff) |
Make EQ Gui optional and seize updating the graph when the analysis is not visible (either via the toggle or window visibility).
git-svn-id: svn://localhost/ardour2/branches/3.0@3973 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/fft.h')
-rw-r--r-- | gtk2_ardour/fft.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/fft.h b/gtk2_ardour/fft.h index a68ed59edc..d80616b77f 100644 --- a/gtk2_ardour/fft.h +++ b/gtk2_ardour/fft.h @@ -42,22 +42,22 @@ class FFT void analyze(ARDOUR::Sample *); void calculate(); - uint32_t bins() const { return _dataSize; } + uint32_t bins() const { return _data_size; } - float powerAtBin(uint32_t i) const { return _powerAtBin[i]; } - float phaseAtBin(uint32_t i) const { return _phaseAtBin[i]; } + float power_at_bin(uint32_t i) const { return _power_at_bin[i]; } + float phase_at_bin(uint32_t i) const { return _phase_at_bin[i]; } private: - uint32_t const _windowSize; - uint32_t const _dataSize; + uint32_t const _window_size; + uint32_t const _data_size; uint32_t _iterations; float *_fftInput; float *_fftOutput; - float *_powerAtBin; - float *_phaseAtBin; + float *_power_at_bin; + float *_phase_at_bin; fftwf_plan _plan; }; |