diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-01-12 21:23:34 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-01-12 21:23:34 +0000 |
commit | 66a503098b38b2ee2c6f58cf8b3548ef003ea99b (patch) | |
tree | 1b782bf3b7bbf0f4a3d8522c0e147141a2be609f /orkbasecxx/Config.h | |
parent | 650105c2e53d80741292d2752cb48b3d9625ca09 (diff) |
Modified the AudioGain filter and: Implemented change on gain calculation; Corrected sample range error; Changed configuration variables from AudioGain, AudioGainChannel1 and AudioGainChannel2 to AudioGainDb, AudioGainChannel1Db and AudioGainChannel2Db
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@593 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Config.h')
-rw-r--r-- | orkbasecxx/Config.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h index 0d8d565..d90ff24 100644 --- a/orkbasecxx/Config.h +++ b/orkbasecxx/Config.h @@ -116,12 +116,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 +#define AUDIO_GAIN_DB_PARAM "AudioGainDb" +#define AUDIO_GAIN_DB_DEFAULT 0 +#define AUDIO_GAIN_CHANNEL_1_DB_PARAM "AudioGainChannel1Db" +#define AUDIO_GAIN_CHANNEL_1_DB_DEFAULT 0 +#define AUDIO_GAIN_CHANNEL_2_DB_PARAM "AudioGainChannel2Db" +#define AUDIO_GAIN_CHANNEL_2_DB_DEFAULT 0 class DLL_IMPORT_EXPORT_ORKBASE Config : public Object { @@ -187,9 +187,9 @@ public: int m_tapeDurationMinimumSec; int m_transcodingSleepEveryNumFrames; int m_transcodingSleepUs; - double m_audioGain; - double m_audioGainChannel1; - double m_audioGainChannel2; + double m_audioGainDb; + double m_audioGainChannel1Db; + double m_audioGainChannel2Db; private: log4cxx::LoggerPtr m_log; |