summaryrefslogtreecommitdiff
path: root/orkbasecxx/Config.cpp
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2009-01-12 21:23:34 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2009-01-12 21:23:34 +0000
commit66a503098b38b2ee2c6f58cf8b3548ef003ea99b (patch)
tree1b782bf3b7bbf0f4a3d8522c0e147141a2be609f /orkbasecxx/Config.cpp
parent650105c2e53d80741292d2752cb48b3d9625ca09 (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.cpp')
-rw-r--r--orkbasecxx/Config.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/orkbasecxx/Config.cpp b/orkbasecxx/Config.cpp
index db8622f..47199e7 100644
--- a/orkbasecxx/Config.cpp
+++ b/orkbasecxx/Config.cpp
@@ -73,9 +73,9 @@ Config::Config()
m_tapeDurationMinimumSec = TAPE_DURATION_MINIMUM_SEC_DEFAULT;
m_transcodingSleepEveryNumFrames = TRANSCODING_SLEEP_EVERY_NUM_FRAMES_DEFAULT;
m_transcodingSleepUs = TRANSCODING_SLEEP_US_DEFAULT;
- m_audioGain = AUDIO_GAIN_DEFAULT;
- m_audioGainChannel1 = AUDIO_GAIN_CHANNEL_1_DEFAULT;
- m_audioGainChannel2 = AUDIO_GAIN_CHANNEL_2_DEFAULT;
+ m_audioGainDb = AUDIO_GAIN_DB_DEFAULT;
+ m_audioGainChannel1Db = AUDIO_GAIN_CHANNEL_1_DB_DEFAULT;
+ m_audioGainChannel2Db = AUDIO_GAIN_CHANNEL_2_DB_DEFAULT;
m_eventStreamingServerPort = STREAMING_SERVER_PORT_DEFAULT;
}
@@ -154,9 +154,9 @@ void Config::Define(Serializer* s)
s->IntValue(TAPE_DURATION_MINIMUM_SEC_PARAM, m_tapeDurationMinimumSec);
s->IntValue(TRANSCODING_SLEEP_EVERY_NUM_FRAMES_PARAM, m_transcodingSleepEveryNumFrames);
s->IntValue(TRANSCODING_SLEEP_US_PARAM, m_transcodingSleepUs);
- s->DoubleValue(AUDIO_GAIN_PARAM, m_audioGain);
- s->DoubleValue(AUDIO_GAIN_CHANNEL_1_PARAM, m_audioGainChannel1);
- s->DoubleValue(AUDIO_GAIN_CHANNEL_2_PARAM, m_audioGainChannel2);
+ s->DoubleValue(AUDIO_GAIN_DB_PARAM, m_audioGainDb);
+ s->DoubleValue(AUDIO_GAIN_CHANNEL_1_DB_PARAM, m_audioGainChannel1Db);
+ s->DoubleValue(AUDIO_GAIN_CHANNEL_2_DB_PARAM, m_audioGainChannel2Db);
s->IntValue(STREAMING_SERVER_PORT_PARAM, m_eventStreamingServerPort);
}