diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-26 22:58:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-26 22:58:01 +0100 |
| commit | 37c28f4c76df89bc84d773beda1bb90be1cedd1a (patch) | |
| tree | 6346c20f1b47bcac9f8c383f8bee41ca56a26de1 /src/lib/audio_analysis.h | |
| parent | f0192490565c72aa9838f40cbab56c4c0c60e522 (diff) | |
Bump audio analysis file version and cache drawn points in the audio plot.
Diffstat (limited to 'src/lib/audio_analysis.h')
| -rw-r--r-- | src/lib/audio_analysis.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/audio_analysis.h b/src/lib/audio_analysis.h index 0a5e6194d..e5ee24d49 100644 --- a/src/lib/audio_analysis.h +++ b/src/lib/audio_analysis.h @@ -100,7 +100,7 @@ public: _analysis_gain = gain; } - boost::optional<int64_t> samples_per_point () const { + int64_t samples_per_point () const { return _samples_per_point; } @@ -108,7 +108,7 @@ public: _samples_per_point = spp; } - boost::optional<int> sample_rate () const { + int sample_rate () const { return _sample_rate; } @@ -131,8 +131,8 @@ private: * happened. */ boost::optional<double> _analysis_gain; - boost::optional<int64_t> _samples_per_point; - boost::optional<int> _sample_rate; + int64_t _samples_per_point; + int _sample_rate; static int const _current_state_version; }; |
