diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2014-10-26 16:44:36 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2014-10-26 20:21:29 +0100 |
commit | 565b93c6cdb2a35f7f1202c52fdf85d5d28f3997 (patch) | |
tree | 716c985589c9a2061222b21d15ec44be01adb3e3 /src/visualizer.h | |
parent | 98e39d48a02437807c5c9647e3c66f9ec1694611 (diff) |
visualizer: simplify DrawFrequencySpectrum
Diffstat (limited to 'src/visualizer.h')
-rw-r--r-- | src/visualizer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/visualizer.h b/src/visualizer.h index 3c840db2..a82d946f 100644 --- a/src/visualizer.h +++ b/src/visualizer.h @@ -79,13 +79,14 @@ private: boost::posix_time::ptime m_timer; int m_fifo; - unsigned m_samples; + size_t m_samples; # ifdef HAVE_FFTW3_H - unsigned m_fftw_results; - double *m_freq_magnitudes; + size_t m_fftw_results; double *m_fftw_input; fftw_complex *m_fftw_output; fftw_plan m_fftw_plan; + + std::vector<double> m_freq_magnitudes; # endif // HAVE_FFTW3_H }; |