summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_graph_builder.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-02 15:28:16 +0200
committerRobin Gareus <robin@gareus.org>2016-05-02 15:44:13 +0200
commitd01cb7910faddbf13b7190ceca990a2cafb71f95 (patch)
tree1d246b6590538ff70621fc28e42445eaa39d4816 /libs/ardour/ardour/export_graph_builder.h
parent7547f02c07875ba053e1c095e542f85291d7af5f (diff)
Add loudness normalization to Export Format & Graph
Diffstat (limited to 'libs/ardour/ardour/export_graph_builder.h')
-rw-r--r--libs/ardour/ardour/export_graph_builder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/export_graph_builder.h b/libs/ardour/ardour/export_graph_builder.h
index 0a9912e43e..df02c9eb57 100644
--- a/libs/ardour/ardour/export_graph_builder.h
+++ b/libs/ardour/ardour/export_graph_builder.h
@@ -32,6 +32,7 @@
namespace AudioGrapher {
class SampleRateConverter;
class PeakReader;
+ class LoudnessReader;
class Normalizer;
class Analyser;
template <typename T> class Chunker;
@@ -160,6 +161,7 @@ class LIBARDOUR_API ExportGraphBuilder
private:
typedef boost::shared_ptr<AudioGrapher::PeakReader> PeakReaderPtr;
+ typedef boost::shared_ptr<AudioGrapher::LoudnessReader> LoudnessReaderPtr;
typedef boost::shared_ptr<AudioGrapher::Normalizer> NormalizerPtr;
typedef boost::shared_ptr<AudioGrapher::TmpFile<Sample> > TmpFilePtr;
typedef boost::shared_ptr<AudioGrapher::Threader<Sample> > ThreaderPtr;
@@ -171,12 +173,13 @@ class LIBARDOUR_API ExportGraphBuilder
FileSpec config;
framecnt_t max_frames_out;
-
+ bool use_loudness;
BufferPtr buffer;
PeakReaderPtr peak_reader;
TmpFilePtr tmp_file;
NormalizerPtr normalizer;
ThreaderPtr threader;
+ LoudnessReaderPtr loudness_reader;
boost::ptr_list<SFC> children;
PBD::ScopedConnection post_processing_connection;