Advanced option to allow mapping to any audio channel (#2279).
[dcpomatic.git] / src / lib / config.h
index 9c3650f8d00af1d8cfb0f6f2b2ad1cf33136942a..f53b8986e0ff890ebb36379ad52a9e4fca46c17f 100644 (file)
@@ -174,6 +174,10 @@ public:
                return _allow_96khz_audio;
        }
 
+       bool use_all_audio_channels () const {
+               return _use_all_audio_channels;
+       }
+
        bool show_experimental_audio_processors () const {
                return _show_experimental_audio_processors;
        }
@@ -669,6 +673,10 @@ public:
                maybe_set (_allow_96khz_audio, a);
        }
 
+       void set_use_all_audio_channels (bool a) {
+               maybe_set (_use_all_audio_channels, a);
+       }
+
        void set_show_experimental_audio_processors (bool e) {
                maybe_set (_show_experimental_audio_processors, e, SHOW_EXPERIMENTAL_AUDIO_PROCESSORS);
        }
@@ -1230,6 +1238,7 @@ private:
        */
        bool _allow_any_container;
        bool _allow_96khz_audio;
+       bool _use_all_audio_channels;
        /** Offer the upmixers in the audio processor settings */
        bool _show_experimental_audio_processors;
        boost::optional<std::string> _language;