diff options
author | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-05-14 08:31:39 +0000 |
---|---|---|
committer | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-05-14 08:31:39 +0000 |
commit | ca7a9a2696d2f73f543241093c4faeb4c608678c (patch) | |
tree | b969d7ef21236b1d25347c156f96836440db7ca2 /voice_engine/dtmf_inband.cc | |
parent | ee6f8a27fd52a1843cd0d4df570b91b8fd542b82 (diff) | |
download | webrtc-ca7a9a2696d2f73f543241093c4faeb4c608678c.tar.gz |
Remove const for plain data types in voice_engine/
BUG=1644
R=henrikg@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1463004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4018 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/dtmf_inband.cc')
-rw-r--r-- | voice_engine/dtmf_inband.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/voice_engine/dtmf_inband.cc b/voice_engine/dtmf_inband.cc index c6897095..7a66aa06 100644 --- a/voice_engine/dtmf_inband.cc +++ b/voice_engine/dtmf_inband.cc @@ -64,7 +64,7 @@ const int16_t Dtmf_dBm0kHz[37]= }; -DtmfInband::DtmfInband(const int32_t id) : +DtmfInband::DtmfInband(int32_t id) : _critSect(*CriticalSectionWrapper::CreateCriticalSection()), _id(id), _outputFrequencyHz(8000), @@ -87,7 +87,7 @@ DtmfInband::~DtmfInband() } int -DtmfInband::SetSampleRate(const uint16_t frequency) +DtmfInband::SetSampleRate(uint16_t frequency) { if (frequency != 8000 && frequency != 16000 && @@ -125,7 +125,7 @@ DtmfInband::Init() } int -DtmfInband::AddTone(const uint8_t eventCode, +DtmfInband::AddTone(uint8_t eventCode, int32_t lengthMs, int32_t attenuationDb) { @@ -170,7 +170,7 @@ DtmfInband::ResetTone() } int -DtmfInband::StartTone(const uint8_t eventCode, +DtmfInband::StartTone(uint8_t eventCode, int32_t attenuationDb) { CriticalSectionScoped lock(&_critSect); @@ -263,10 +263,10 @@ DtmfInband::DelaySinceLastTone() const int16_t DtmfInband::DtmfFix_generate(int16_t *decoded, - const int16_t value, - const int16_t volume, - const int16_t frameLen, - const int16_t fs) + int16_t value, + int16_t volume, + int16_t frameLen, + int16_t fs) { const int16_t *a_times2Tbl; const int16_t *y2_Table; @@ -348,11 +348,11 @@ DtmfInband::DtmfFix_generate(int16_t *decoded, } int16_t -DtmfInband::DtmfFix_generateSignal(const int16_t a1_times2, - const int16_t a2_times2, - const int16_t volume, +DtmfInband::DtmfFix_generateSignal(int16_t a1_times2, + int16_t a2_times2, + int16_t volume, int16_t *signal, - const int16_t length) + int16_t length) { int i; |