mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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
This commit is contained in:
parent
68d8f26dc4
commit
1bca6b5c74
8 changed files with 273 additions and 206 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue