diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-03-02 10:48:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-03-02 10:48:13 +0000 |
| commit | ca045c71b2e76f86fef1ca99d7e7703a41dfcf33 (patch) | |
| tree | b0b66f7120ae61bff858ec8e10ca1ba525d3643d /src/lib/config.h | |
| parent | 9894a46a5985ffd36579e8eca1984841c09fa4ec (diff) | |
Add configure option to disable EBUR128 analysis of audio.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 109f7b603..e5795d2c3 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -231,6 +231,10 @@ public: return _log_types; } + bool analyse_ebur128 () const { + return _analyse_ebur128; + } + bool automatic_audio_analysis () const { return _automatic_audio_analysis; } @@ -431,6 +435,10 @@ public: maybe_set (_log_types, t); } + void set_analyse_ebur128 (bool a) { + maybe_set (_analyse_ebur128, a); + } + void set_automatic_audio_analysis (bool a) { maybe_set (_automatic_audio_analysis, a); } @@ -546,6 +554,7 @@ private: /** maximum allowed J2K bandwidth in bits per second */ int _maximum_j2k_bandwidth; int _log_types; + bool _analyse_ebur128; bool _automatic_audio_analysis; #ifdef DCPOMATIC_WINDOWS bool _win32_console; |
