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/test/win_test/WinTestDlg.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/test/win_test/WinTestDlg.cc')
-rw-r--r-- | voice_engine/test/win_test/WinTestDlg.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/voice_engine/test/win_test/WinTestDlg.cc b/voice_engine/test/win_test/WinTestDlg.cc index fee29206..67da771d 100644 --- a/voice_engine/test/win_test/WinTestDlg.cc +++ b/voice_engine/test/win_test/WinTestDlg.cc @@ -61,14 +61,14 @@ class ConnectionObserver : public VoEConnectionObserver { public: ConnectionObserver(); - virtual void OnPeriodicDeadOrAlive(const int channel, const bool alive); + virtual void OnPeriodicDeadOrAlive(int channel, bool alive); }; ConnectionObserver::ConnectionObserver() { } -void ConnectionObserver::OnPeriodicDeadOrAlive(const int channel, const bool alive) +void ConnectionObserver::OnPeriodicDeadOrAlive(int channel, bool alive) { CString str; str.Format(_T("OnPeriodicDeadOrAlive(channel=%d) => alive=%d"), channel, alive); @@ -79,7 +79,7 @@ void ConnectionObserver::OnPeriodicDeadOrAlive(const int channel, const bool ali // VoiceEngineObserver // ---------------------------------------------------------------------------- -void CWinTestDlg::CallbackOnError(const int channel, const int errCode) +void CWinTestDlg::CallbackOnError(int channel, int errCode) { _nErrorCallbacks++; @@ -129,14 +129,14 @@ void CWinTestDlg::CallbackOnError(const int channel, const int errCode) // VoERTPObserver // ---------------------------------------------------------------------------- -void CWinTestDlg::OnIncomingCSRCChanged(const int channel, const unsigned int CSRC, const bool added) +void CWinTestDlg::OnIncomingCSRCChanged(int channel, unsigned int CSRC, bool added) { CString str; str.Format(_T("OnIncomingCSRCChanged(channel=%d) => CSRC=%u, added=%d"), channel, CSRC, added); SetDlgItemText(IDC_EDIT_ERROR_CALLBACK, (LPCTSTR)str); } -void CWinTestDlg::OnIncomingSSRCChanged(const int channel, const unsigned int SSRC) +void CWinTestDlg::OnIncomingSSRCChanged(int channel, unsigned int SSRC) { CString str; str.Format(_T("OnIncomingSSRCChanged(channel=%d) => SSRC=%u"), channel, SSRC); @@ -184,24 +184,24 @@ class MediaProcessImpl : public VoEMediaProcess { public: MediaProcessImpl(); - virtual void Process(const int channel, - const ProcessingTypes type, + virtual void Process(int channel, + ProcessingTypes type, int16_t audio_10ms[], - const int length, - const int samplingFreqHz, - const bool stereo); + int length, + int samplingFreqHz, + bool stereo); }; MediaProcessImpl::MediaProcessImpl() { } -void MediaProcessImpl::Process(const int channel, - const ProcessingTypes type, +void MediaProcessImpl::Process(int channel, + ProcessingTypes type, int16_t audio_10ms[], - const int length, - const int samplingFreqHz, - const bool stereo) + int length, + int samplingFreqHz, + bool stereo) { int x = rand() % 100; |