- std::vector<std::vector<AudioPoint> > _data;
- boost::optional<float> _peak;
- boost::optional<DCPTime> _peak_time;
+ std::vector<std::vector<AudioPoint>> _data;
+ std::vector<PeakTime> _sample_peak;
+ std::vector<float> _true_peak;
+ boost::optional<float> _integrated_loudness;
+ boost::optional<float> _loudness_range;
+ boost::optional<double> _leqm;
+ /** If this analysis was run on a single piece of
+ * content we store its gain in dB when the analysis
+ * happened.
+ */
+ boost::optional<double> _analysis_gain;
+ int64_t _samples_per_point = 0;
+ int _sample_rate = 0;
+
+ static int const _current_state_version;