summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_analysis.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-02-12 12:42:51 +0100
committerRobin Gareus <robin@gareus.org>2016-02-12 12:42:51 +0100
commit50145a93e697ab73a54187fff9d7ff8f8064bd6c (patch)
treeec37bd7a53016688cc7c3cb6ff4cedd64dc9244c /libs/ardour/ardour/export_analysis.h
parenta60312cfeaa3b46fd5b8d8bafde7b7f7cb788cc0 (diff)
export analysis: include true-peak positions.
Diffstat (limited to 'libs/ardour/ardour/export_analysis.h')
-rw-r--r--libs/ardour/ardour/export_analysis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/export_analysis.h b/libs/ardour/ardour/export_analysis.h
index 9da0a4f787..f62cdf0d53 100644
--- a/libs/ardour/ardour/export_analysis.h
+++ b/libs/ardour/ardour/export_analysis.h
@@ -20,6 +20,7 @@
#define __ardour_export_analysis_h__
#include <map>
+#include <set>
#include <cstring>
#include <boost/shared_ptr.hpp>
@@ -53,6 +54,7 @@ namespace ARDOUR {
, have_loudness (other.have_loudness)
, have_dbtp (other.have_dbtp)
, n_channels (other.n_channels)
+ , truepeakpos (other.truepeakpos)
{
memcpy (peaks, other.peaks, sizeof(peaks));
memcpy (spectrum, other.spectrum, sizeof(spectrum));
@@ -74,6 +76,7 @@ namespace ARDOUR {
PeakData peaks[2][800];
float spectrum[800][200];
+ std::set<framecnt_t> truepeakpos[2]; // bins with >= -1dBTB
};
typedef boost::shared_ptr<ExportAnalysis> ExportAnalysisPtr;