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-01-06 22:01:28 +0000
commit89d4090c6b1bdf889c2302b92e1f4bf33cf7cf05 (patch)
tree4ce39b074a163ebdf8befa6f2ad0326296e0a310 /src/lib/config.h
parent90be9c89248be5e80b91e9926a6f38c73501bcb6 (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 215e6a4db..5289656e3 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -160,6 +160,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;
}
@@ -626,6 +630,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);
}
@@ -1155,6 +1163,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;