diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-29 00:00:55 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-01 00:02:52 +0200 |
| commit | a876dc03d70b6d3971ba0fc6e28c59b412c5f0a3 (patch) | |
| tree | 61e7f0d0bd74b3b37ffa21cabe3078680c2260d2 /src/lib/config.h | |
| parent | 7588273929fa6fe48fa0cf04d33e14bd256cf3f7 (diff) | |
Advanced option to allow mapping to any audio channel (#2279).
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 9c3650f8d..f53b8986e 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -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; |
