X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fconfig.h;h=1d40a3b1579e4d1b32e3353c59727ec43cdd0a1b;hb=08b44e380c8be3a8cb2dacbd94049f09942dabc1;hp=29f401755b06cf814db5c1cb2207848099053d9e;hpb=d311043bf3c1e3e7f41b314f7ab7c91ed7e5aa7f;p=dcpomatic.git diff --git a/src/lib/config.h b/src/lib/config.h index 29f401755..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); } @@ -1108,7 +1116,7 @@ public: static boost::signals2::signal Bad; - void write () const; + void write () const override; void write_config () const; void write_cinemas () const; void write_dkdm_recipients () const; @@ -1135,7 +1143,7 @@ public: private: Config (); - void read (); + void read () override; void set_defaults (); void set_kdm_email_to_default (); void set_notification_email_to_default (); @@ -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 _language;