summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-31 19:38:28 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-31 19:38:28 +0100
commit5d0f01f04f85280a562ac9da8f58ad0c3489f7aa (patch)
tree7b7639d407e2c2b475cdfe21669831584bc70851 /src/lib/config.h
parent75be8cbd1d3307ea62fe8e79543ca518f4ee7bc2 (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.h7
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;
};