summaryrefslogtreecommitdiff
path: root/orkbasecxx/Config.h
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2008-12-18 08:07:04 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2008-12-18 08:07:04 +0000
commit3f5c1d9c9358eb6d7a1f2c75b49446303157fcd4 (patch)
tree8bce4fff04918d60ed8bed2669f9c21220556d80 /orkbasecxx/Config.h
parent960e134a00df44a2cb3eda87f2d7dcde9fb5156e (diff)
Added AudioGain filter that allows gain to be increased or reduced on all channels or a per-channel basis. Therefore 3 configuration parameters have been added, which are AudioGain, AudioGainChannel1 and AudioGainChannel2. These parameters take values in Db. Setting the AudioGain applies the gain to both channels. While setting AudioGainChannel1 and AudioGainChannel2 applies gain to channel 1 and channel 2 respectively.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@587 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Config.h')
-rw-r--r--orkbasecxx/Config.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h
index 02fe025..8e7634c 100644
--- a/orkbasecxx/Config.h
+++ b/orkbasecxx/Config.h
@@ -114,7 +114,12 @@
#define TRANSCODING_SLEEP_EVERY_NUM_FRAMES_DEFAULT 0
#define TRANSCODING_SLEEP_US_PARAM "TranscodingSleepUs"
#define TRANSCODING_SLEEP_US_DEFAULT 0
-
+#define AUDIO_GAIN_PARAM "AudioGain"
+#define AUDIO_GAIN_DEFAULT 0
+#define AUDIO_GAIN_CHANNEL_1_PARAM "AudioGainChannel1"
+#define AUDIO_GAIN_CHANNEL_1_DEFAULT 0
+#define AUDIO_GAIN_CHANNEL_2_PARAM "AudioGainChannel2"
+#define AUDIO_GAIN_CHANNEL_2_DEFAULT 0
class DLL_IMPORT_EXPORT_ORKBASE Config : public Object
{
@@ -179,6 +184,9 @@ public:
int m_tapeDurationMinimumSec;
int m_transcodingSleepEveryNumFrames;
int m_transcodingSleepUs;
+ double m_audioGain;
+ double m_audioGainChannel1;
+ double m_audioGainChannel2;
private:
log4cxx::LoggerPtr m_log;