diff options
author | Robin Gareus <robin@gareus.org> | 2016-02-11 14:07:27 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-02-11 14:14:01 +0100 |
commit | 4b17bcb8b8fac06cb8bf2799c97b876ee8465d90 (patch) | |
tree | 588bfb114771a4fcee94c45562deda876077e87a /libs/ardour/ardour/export_analysis.h | |
parent | d2fa4b338859e8e001ade219161b83c9bfa7130b (diff) |
update export analyser for dBTP
Diffstat (limited to 'libs/ardour/ardour/export_analysis.h')
-rw-r--r-- | libs/ardour/ardour/export_analysis.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libs/ardour/ardour/export_analysis.h b/libs/ardour/ardour/export_analysis.h index 0b40a41947..9da0a4f787 100644 --- a/libs/ardour/ardour/export_analysis.h +++ b/libs/ardour/ardour/export_analysis.h @@ -29,10 +29,13 @@ namespace ARDOUR { struct ExportAnalysis { public: ExportAnalysis () - : loudness (0) + : peak (0) + , truepeak (0) + , loudness (0) , loudness_range (0) , loudness_hist_max (0) , have_loudness (false) + , have_dbtp (false) , n_channels (1) { memset (peaks, 0, sizeof(peaks)); @@ -42,10 +45,13 @@ namespace ARDOUR { } ExportAnalysis (const ExportAnalysis& other) - : loudness (other.loudness) + : peak (other.peak) + , truepeak (other.truepeak) + , loudness (other.loudness) , loudness_range (other.loudness_range) , loudness_hist_max (other.loudness_hist_max) , have_loudness (other.have_loudness) + , have_dbtp (other.have_dbtp) , n_channels (other.n_channels) { memcpy (peaks, other.peaks, sizeof(peaks)); @@ -54,11 +60,14 @@ namespace ARDOUR { memcpy (freq, other.freq, sizeof(freq)); } + float peak; + float truepeak; float loudness; float loudness_range; int loudness_hist[540]; int loudness_hist_max; bool have_loudness; + bool have_dbtp; uint32_t n_channels; uint32_t freq[6]; // y-pos, 50, 100, 500, 1k, 5k, 10k [Hz] |