summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-04 23:33:28 +0000
committerCarl Hetherington <cth@carlh.net>2022-04-29 00:07:13 +0200
commit08b44e380c8be3a8cb2dacbd94049f09942dabc1 (patch)
tree9b460bcea45857f5eea1bba2360680e814ad64f3 /src/lib/config.h
parente06941199da90359f41ce80c276752bc0f172d7e (diff)
Allow 96kHz audio as an advanced option (#1789).
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index e9b3ec203..1d40a3b15 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -167,6 +167,10 @@ public:
return _allow_any_container;
}
+ bool allow_96khz_audio () const {
+ return _allow_96khz_audio;
+ }
+
bool show_experimental_audio_processors () const {
return _show_experimental_audio_processors;
}
@@ -651,6 +655,10 @@ public:
maybe_set (_allow_any_container, a);
}
+ void set_allow_96hhz_audio (bool a) {
+ maybe_set (_allow_96khz_audio, a);
+ }
+
void set_show_experimental_audio_processors (bool e) {
maybe_set (_show_experimental_audio_processors, e, SHOW_EXPERIMENTAL_AUDIO_PROCESSORS);
}
@@ -1199,6 +1207,7 @@ private:
https://www.dcpomatic.com/forum/viewtopic.php?f=2&t=1119&p=4468
*/
bool _allow_any_container;
+ bool _allow_96khz_audio;
/** Offer the upmixers in the audio processor settings */
bool _show_experimental_audio_processors;
boost::optional<std::string> _language;