common_audio: VADFree() now returns void

* Files in audio_coding are not affected since they never use the return value.
* voice_detection in audio_processing does.
* Updated vad_unittest.cc

BUG=441
TESTED=trybots
R=andrew@webrtc.org, tina.legrand@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/12059005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5948 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
bjornv@webrtc.org
2014-04-22 04:45:35 +00:00
parent 3dfabf928c
commit 2a796720f8
4 changed files with 5 additions and 13 deletions

View File

@ -164,7 +164,8 @@ void* VoiceDetectionImpl::CreateHandle() const {
}
int VoiceDetectionImpl::DestroyHandle(void* handle) const {
return WebRtcVad_Free(static_cast<Handle*>(handle));
WebRtcVad_Free(static_cast<Handle*>(handle));
return apm_->kNoError;
}
int VoiceDetectionImpl::InitializeHandle(void* handle) const {