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/voe_base_impl.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/voe_base_impl.cc')
-rw-r--r-- | voice_engine/voe_base_impl.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/voice_engine/voe_base_impl.cc b/voice_engine/voe_base_impl.cc index aeec9bcc..1b14be72 100644 --- a/voice_engine/voe_base_impl.cc +++ b/voice_engine/voe_base_impl.cc @@ -65,7 +65,7 @@ VoEBaseImpl::~VoEBaseImpl() delete &_callbackCritSect; } -void VoEBaseImpl::OnErrorIsReported(const ErrorCode error) +void VoEBaseImpl::OnErrorIsReported(ErrorCode error) { CriticalSectionScoped cs(&_callbackCritSect); if (_voiceEngineObserver) @@ -94,7 +94,7 @@ void VoEBaseImpl::OnErrorIsReported(const ErrorCode error) } } -void VoEBaseImpl::OnWarningIsReported(const WarningCode warning) +void VoEBaseImpl::OnWarningIsReported(WarningCode warning) { CriticalSectionScoped cs(&_callbackCritSect); if (_voiceEngineObserver) @@ -126,14 +126,14 @@ void VoEBaseImpl::OnWarningIsReported(const WarningCode warning) int32_t VoEBaseImpl::RecordedDataIsAvailable( const void* audioSamples, - const uint32_t nSamples, - const uint8_t nBytesPerSample, - const uint8_t nChannels, - const uint32_t samplesPerSec, - const uint32_t totalDelayMS, - const int32_t clockDrift, - const uint32_t currentMicLevel, - const bool keyPressed, + uint32_t nSamples, + uint8_t nBytesPerSample, + uint8_t nChannels, + uint32_t samplesPerSec, + uint32_t totalDelayMS, + int32_t clockDrift, + uint32_t currentMicLevel, + bool keyPressed, uint32_t& newMicLevel) { WEBRTC_TRACE(kTraceStream, kTraceVoice, VoEId(_shared->instance_id(), -1), @@ -232,10 +232,10 @@ int32_t VoEBaseImpl::RecordedDataIsAvailable( } int32_t VoEBaseImpl::NeedMorePlayData( - const uint32_t nSamples, - const uint8_t nBytesPerSample, - const uint8_t nChannels, - const uint32_t samplesPerSec, + uint32_t nSamples, + uint8_t nBytesPerSample, + uint8_t nChannels, + uint32_t samplesPerSec, void* audioSamples, uint32_t& nSamplesOut) { |