diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-31 19:38:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-31 19:38:28 +0100 |
| commit | 5d0f01f04f85280a562ac9da8f58ad0c3489f7aa (patch) | |
| tree | 7b7639d407e2c2b475cdfe21669831584bc70851 /src/lib/config.h | |
| parent | 75be8cbd1d3307ea62fe8e79543ca518f4ee7bc2 (diff) | |
Basic support for calculating audio gains based on the sound processor's gain curve.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index cbb83ad86..64bcf4d86 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -32,6 +32,7 @@ class Server; class Screen; class Scaler; class Filter; +class SoundProcessor; /** @class Config * @brief A singleton class holding configuration. @@ -97,6 +98,10 @@ public: return _tms_password; } + SoundProcessor const * sound_processor () const { + return _sound_processor; + } + /** @param n New number of local encoding threads */ void set_num_local_encoding_threads (int n) { _num_local_encoding_threads = n; @@ -200,6 +205,8 @@ private: std::string _tms_user; std::string _tms_password; + SoundProcessor const * _sound_processor; + /** Singleton instance, or 0 */ static Config* _instance; }; |
